commit a3f4430b62cb907a3b4a9cef0e96adcbbfe1a009 Author: Dave Rolek dmr-x@riseup.net Date: Mon Jun 11 02:21:06 2018 +0000
Remove redundant (and mildly confusing) prefix module prefix.prefix
This expands a bit beyond stem.client consumers, but it's better to address all instances than to turn a blind eye due to scope purism. --- test/integ/descriptor/remote.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/integ/descriptor/remote.py b/test/integ/descriptor/remote.py index c4e4f699..65800677 100644 --- a/test/integ/descriptor/remote.py +++ b/test/integ/descriptor/remote.py @@ -27,7 +27,7 @@ class TestDescriptorDownloader(unittest.TestCase): ).run())[0]
self.assertEqual('moria1', desc.nickname) - self.assertTrue(isinstance(desc, stem.descriptor.stem.descriptor.server_descriptor.ServerDescriptor)) + self.assertTrue(isinstance(desc, stem.descriptor.server_descriptor.ServerDescriptor))
@test.require.only_run_once @test.require.online @@ -40,7 +40,7 @@ class TestDescriptorDownloader(unittest.TestCase): ).run())[0]
self.assertEqual('moria1', desc.nickname) - self.assertTrue(isinstance(desc, stem.descriptor.stem.descriptor.server_descriptor.ServerDescriptor)) + self.assertTrue(isinstance(desc, stem.descriptor.server_descriptor.ServerDescriptor))
@test.require.only_run_once @test.require.online @@ -158,7 +158,7 @@ class TestDescriptorDownloader(unittest.TestCase): single_query_results = list(single_query) self.assertEqual(1, len(single_query_results)) self.assertEqual('moria1', single_query_results[0].nickname) - self.assertTrue(isinstance(single_query_results[0], stem.descriptor.stem.descriptor.server_descriptor.ServerDescriptor)) + self.assertTrue(isinstance(single_query_results[0], stem.descriptor.server_descriptor.ServerDescriptor))
self.assertEqual(2, len(list(multiple_query)))
tor-commits@lists.torproject.org