diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2016-06-11 23:49:11 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2016-06-11 23:49:11 +0200 |
commit | 2b608ecffc14395bfc560a235cc291edc3c5cc62 (patch) | |
tree | 4b4314481d70b21d084a955ec2099bb3cd3cfc64 /tests | |
parent | be6e1940eab67c48d1da077ad792639ed4f45676 (diff) | |
download | haircontrol-master.zip haircontrol-master.tar.gz haircontrol-master.tar.bz2 |
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() |