diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-05 16:18:41 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-05 16:18:41 +0000 |
commit | b643c52cf29ce5bbab738b43290af3556efa1ca9 (patch) | |
tree | 21d5c53d7a9b696627a255777cefdf6f78968824 /ansible_collections/community/ciscosmb/tests/unit/plugins | |
parent | Releasing progress-linux version 9.5.1+dfsg-1~progress7.99u1. (diff) | |
download | ansible-b643c52cf29ce5bbab738b43290af3556efa1ca9.tar.xz ansible-b643c52cf29ce5bbab738b43290af3556efa1ca9.zip |
Merging upstream version 10.0.0+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/community/ciscosmb/tests/unit/plugins')
-rw-r--r-- | ansible_collections/community/ciscosmb/tests/unit/plugins/modules/ciscosmb/test_ciscosmb_facts-SG500-52-K9.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ansible_collections/community/ciscosmb/tests/unit/plugins/modules/ciscosmb/test_ciscosmb_facts-SG500-52-K9.py b/ansible_collections/community/ciscosmb/tests/unit/plugins/modules/ciscosmb/test_ciscosmb_facts-SG500-52-K9.py index 98a185dd7..107c365ca 100644 --- a/ansible_collections/community/ciscosmb/tests/unit/plugins/modules/ciscosmb/test_ciscosmb_facts-SG500-52-K9.py +++ b/ansible_collections/community/ciscosmb/tests/unit/plugins/modules/ciscosmb/test_ciscosmb_facts-SG500-52-K9.py @@ -116,6 +116,13 @@ class TestCiscoSMBFactsModule(TestCiscoSMBModule): len(result['ansible_facts']['ansible_net_neighbors']), 9 ) + interfaces = result['ansible_facts']['ansible_net_interfaces'] + ge42 = interfaces['GigabitEthernet1/42'] + + self.assertEqual(ge42['bandwidth'], 1000000) + + self.assertEqual(ge42['bandwidth'], ge42['bandwith']) + # def test_ciscosmb_facts_routing(self): # set_module_args(dict(gather_subset='routing')) # result = self.execute_module() |