Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:python:misc
python-wstools
support-python-312.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File support-python-312.patch of Package python-wstools
Index: wstools-0.4.8/tests/test_wsdl.py =================================================================== --- wstools-0.4.8.orig/tests/test_wsdl.py +++ wstools-0.4.8/tests/test_wsdl.py @@ -70,7 +70,7 @@ class WSDLToolsTestCase(unittest.TestCas for node in DOM.getElements(definition, tag_name, nspname): name = DOM.getAttr(node, key) comp = component[name] # noqa F841 - self.failUnlessEqual(eval('comp.%s' % key), name) + self.assertEqual(eval('comp.%s' % key), name) def checkXSDCollection(self, tag_name, component, node, key='name'): for cnode in DOM.getElements(node, tag_name): @@ -126,7 +126,7 @@ class WSDLToolsTestCase(unittest.TestCas try: for key in self.wsdl.types.keys(): schema = self.wsdl.types[key] - self.failUnlessEqual(key, schema.getTargetNamespace()) + self.assertEqual(key, schema.getTargetNamespace()) definition = self.wsdl.document.documentElement version = DOM.WSDLUriToVersion(definition.namespaceURI)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor