[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [stem/master] Furthermore, decorate test_get_microdescriptors() with @test.require.online



commit 3854f6af4543c6d2b5793025c1c780c4ee85afe3
Author: Dave Rolek <dmr-x@xxxxxxxxxx>
Date:   Thu Jun 21 19:19:47 2018 +0000

    Furthermore, decorate test_get_microdescriptors() with @test.require.online
    
    The previous commit should address #26225, but a tor instance that has
    never been online won't generate a cache of microdescriptors, so it
    seems superfluous (although not completely pointless) to run this test
    outside the ONLINE target.
---
 test/integ/control/controller.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/integ/control/controller.py b/test/integ/control/controller.py
index 4d28afac..5c989889 100644
--- a/test/integ/control/controller.py
+++ b/test/integ/control/controller.py
@@ -1147,6 +1147,7 @@ class TestController(unittest.TestCase):
       self.assertEqual(md_by_fingerprint, md_by_nickname)
 
   @test.require.controller
+  @test.require.online
   def test_get_microdescriptors(self):
     """
     Fetches a few descriptors via the get_microdescriptors() method.



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits