diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/test_discovery.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_discovery.py b/tests/test_discovery.py index d89d6f6..35600ae 100755 --- a/tests/test_discovery.py +++ b/tests/test_discovery.py @@ -19,10 +19,10 @@ class TestDiscovery(unittest.TestCase): ('SW_PI_EGL', '172.16.30.27'), ('SW_Eglise_ESTANCARBON', '172.16.30.38'), ]) - self.discovery.discover_from_root(data.Equipment('stg', '172.16.0.254')) - self.discovery.compute_neighbourhood() + self.discovery.discover_from_gateway(data.Equipment('stg', '172.16.0.254', 'eth1')) # self.assertEqual(self.ref_net.get_equipment_list_sorted(), list(self.discovery.net.get_equipment_list_sorted())) - print(self.discovery.net) # <----- ya un gros print ici qui affiche... tout. +# print(self.discovery.net) # <----- ya un gros print ici qui affiche... tout. + self.discovery.net.print_tree() if __name__ == '__main__': unittest.main() |