diff options
author | Rohit Thakur <rohitthakur2590@outlook.com> | 2021-04-28 17:39:24 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-28 12:09:24 +0000 |
commit | e1c29bf3b6e0ba4887693fcc347d8887051aa148 (patch) | |
tree | d0cd7ae2fb73c8fab1cd470328564058a316faf8 /tests/unit/modules/network | |
parent | dccc17eb6956a9a09485b90198219559acd3a209 (diff) | |
download | vyos-ansible-collection-e1c29bf3b6e0ba4887693fcc347d8887051aa148.tar.gz vyos-ansible-collection-e1c29bf3b6e0ba4887693fcc347d8887051aa148.zip |
VyOS: available_network_resources implemented in vyos_facts (#148)
VyOS: available_network_resources implemented in vyos_facts
Reviewed-by: https://github.com/apps/ansible-zuul
Diffstat (limited to 'tests/unit/modules/network')
-rw-r--r-- | tests/unit/modules/network/vyos/test_vyos_ping.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/modules/network/vyos/test_vyos_ping.py b/tests/unit/modules/network/vyos/test_vyos_ping.py index e307610..f3ba2ee 100644 --- a/tests/unit/modules/network/vyos/test_vyos_ping.py +++ b/tests/unit/modules/network/vyos/test_vyos_ping.py @@ -56,22 +56,22 @@ class TestVyosPingModule(TestVyosModule): self.run_commands.side_effect = load_from_file def test_vyos_ping_expected_success(self): - """ Test for successful pings when destination should be reachable """ + """Test for successful pings when destination should be reachable""" set_module_args(dict(count=2, dest="10.10.10.10")) self.execute_module() def test_vyos_ping_expected_failure(self): - """ Test for unsuccessful pings when destination should not be reachable """ + """Test for unsuccessful pings when destination should not be reachable""" set_module_args(dict(count=4, dest="10.10.10.20", state="absent")) self.execute_module() def test_vyos_ping_unexpected_success(self): - """ Test for successful pings when destination should not be reachable - FAIL. """ + """Test for successful pings when destination should not be reachable - FAIL.""" set_module_args(dict(count=2, dest="10.10.10.10", state="absent")) self.execute_module(failed=True) def test_vyos_ping_unexpected_failure(self): - """ Test for unsuccessful pings when destination should be reachable - FAIL. """ + """Test for unsuccessful pings when destination should be reachable - FAIL.""" set_module_args(dict(count=4, dest="10.10.10.20")) self.execute_module(failed=True) |