commit f7949b644eaadf9a0e731547deafb40cf106e8a8 Author: Damian Johnson atagar@torproject.org Date: Sat Mar 31 21:29:06 2018 -0700
Drop compression integ test
None of the dirauths evidently support zstd, and individual descriptors can't be provided via lzma (evidently only the whole consensus will honor that compression due to its heavier cpu costs). This doesn't leave us with great options for integ testing. Oh well, at least we have unit tests. --- test/integ/descriptor/remote.py | 20 -------------------- 1 file changed, 20 deletions(-)
diff --git a/test/integ/descriptor/remote.py b/test/integ/descriptor/remote.py index 4e10eac2..3123ef06 100644 --- a/test/integ/descriptor/remote.py +++ b/test/integ/descriptor/remote.py @@ -16,26 +16,6 @@ import test.require class TestDescriptorDownloader(unittest.TestCase): @test.require.only_run_once @test.require.online - def test_compression(self): - """ - Issue a request for a plaintext descriptor. - """ - - moria1 = stem.descriptor.remote.get_authorities()['moria1'] - - descriptors = list(stem.descriptor.remote.Query( - '/tor/server/fp/%s' % moria1.fingerprint, - 'server-descriptor 1.0', - endpoints = [(moria1.address, moria1.dir_port)], - timeout = 30, - validate = True, - ).run()) - - self.assertEqual(1, len(descriptors)) - self.assertEqual('moria1', descriptors[0].nickname) - - @test.require.only_run_once - @test.require.online def test_shorthand_aliases(self): """ Quick sanity test that we can call our shorthand aliases for getting