From 41eaecd927452eda97875d388f12da2009d6a6cf Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Thu, 2 Jun 2016 23:39:10 +0200 Subject: Make room for direct_neighbours, add inter.py for use in interactive python shell. --- tests/test_discovery.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/test_discovery.py') diff --git a/tests/test_discovery.py b/tests/test_discovery.py index 2e7b308..d89d6f6 100755 --- a/tests/test_discovery.py +++ b/tests/test_discovery.py @@ -20,8 +20,9 @@ class TestDiscovery(unittest.TestCase): ('SW_Eglise_ESTANCARBON', '172.16.30.38'), ]) self.discovery.discover_from_root(data.Equipment('stg', '172.16.0.254')) + self.discovery.compute_neighbourhood() # self.assertEqual(self.ref_net.get_equipment_list_sorted(), list(self.discovery.net.get_equipment_list_sorted())) - print(self.discovery.net) + print(self.discovery.net) # <----- ya un gros print ici qui affiche... tout. if __name__ == '__main__': unittest.main() -- cgit v1.1