diff --git a/tests/test_client.py b/tests/test_client.py index 966f07a..4ed1c10 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -896,3 +896,32 @@ class TestRecursiveWSDLImport: store = MockDocumentStore(wsdl_main_1=wsdl_main, wsdl_main_2=wsdl_main, wsdl_binding=wsdl_binding) suds.client.Client(url_main1, cache=None, documentStore=store) + + def test_WSDL_self_import(self): + url = "suds://wsdl" + wsdl = b("""\ + + + + + + + + + + + + + + + + + +""" % dict(url_imported=url)) + + store = MockDocumentStore(wsdl=wsdl) + suds.client.Client(url, cache=None, documentStore=store)