django.utils.six.moves.xmlrpc_client.Server

Here are the examples of the python api django.utils.six.moves.xmlrpc_client.Server taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

Example 1

Project: patchwork
Source File: test_xmlrpc.py
View license
    def setUp(self):
        defaults.project.save()
        defaults.patch_author_person.save()
        self.maintainer = TestUser(username='maintainer')
        self.maintainer.add_to_maintainers(defaults.project)

        p = urlparse.urlparse(self.live_server_url)
        self.url = (p.scheme + '://' + self.maintainer.username + ':' +
                    self.maintainer.password + '@' + p.netloc + p.path +
                    reverse('patchwork.views.xmlrpc.xmlrpc'))
        self.rpc = xmlrpc_client.Server(self.url)