summaryrefslogtreecommitdiff
path: root/tests/unit/modules
diff options
context:
space:
mode:
authoromnom62 <omnom62@outlook.com>2026-07-07 16:51:15 +1000
committeromnom62 <omnom62@outlook.com>2026-07-07 16:51:15 +1000
commit3b03da286d24c9f9fc858f72df709712d89906f7 (patch)
tree45cf2dd36dd0a07c223377eaa3dacfc2d24d187e /tests/unit/modules
parent075acc5bf3aef087e1b8ca617dad8a2bf96f3cfa (diff)
downloadvyos.vyos-test/lldp-interfaces-unit-tests.tar.gz
vyos.vyos-test/lldp-interfaces-unit-tests.zip
T8517: corrected unit testtest/lldp-interfaces-unit-tests
Diffstat (limited to 'tests/unit/modules')
-rw-r--r--tests/unit/modules/network/vyos/test_vyos_lldp_interfaces.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unit/modules/network/vyos/test_vyos_lldp_interfaces.py b/tests/unit/modules/network/vyos/test_vyos_lldp_interfaces.py
index fdb1cecd..fda8f7f4 100644
--- a/tests/unit/modules/network/vyos/test_vyos_lldp_interfaces.py
+++ b/tests/unit/modules/network/vyos/test_vyos_lldp_interfaces.py
@@ -51,7 +51,7 @@ class TestVyosLldpInterfacesModule(TestVyosModule):
def load_fixtures(self, commands=None, filename=None):
self.get_resource_connection_facts.return_value.get_config.return_value = load_fixture(
- "vyos_lldp_interfaces_config.cfg"
+ "vyos_lldp_interfaces_config.cfg",
)
# -------------------------------------------------------------------------
@@ -227,6 +227,8 @@ class TestVyosLldpInterfacesModule(TestVyosModule):
coord = eth2["location"]["coordinate_based"]
self.assertEqual(coord["altitude"], 2200)
self.assertEqual(coord["datum"], "WGS84")
+ self.assertEqual(coord["latitude"], "33.524449N")
+ self.assertEqual(coord["longitude"], "222.267255W")
# -------------------------------------------------------------------------
# rendered