diff options
author | ansible-zuul[bot] <48994755+ansible-zuul[bot]@users.noreply.github.com> | 2020-05-07 09:47:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-07 09:47:35 +0000 |
commit | 62d621f64c082d889950d48ccf4d1177aa24000a (patch) | |
tree | ee5a9a1886d259e892be851cbcf766be7c00ba87 /tests/unit/modules | |
parent | 439fcb4bb32f97a4d8f35bb30bc8c888b256476d (diff) | |
parent | 3ab82e0e018bf0ca02f14391d03e15b3c259da0a (diff) | |
download | vyos.vyos-62d621f64c082d889950d48ccf4d1177aa24000a.tar.gz vyos.vyos-62d621f64c082d889950d48ccf4d1177aa24000a.zip |
Merge pull request #30 from rohitthakur2590/static_routes_delete_changes
[VyOS]: Static routes Deleted state operation updated
Reviewed-by: https://github.com/apps/ansible-zuul
Diffstat (limited to 'tests/unit/modules')
-rw-r--r-- | tests/unit/modules/network/vyos/test_vyos_static_routes.py | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/tests/unit/modules/network/vyos/test_vyos_static_routes.py b/tests/unit/modules/network/vyos/test_vyos_static_routes.py index 3646d61..85c0842 100644 --- a/tests/unit/modules/network/vyos/test_vyos_static_routes.py +++ b/tests/unit/modules/network/vyos/test_vyos_static_routes.py @@ -277,17 +277,9 @@ class TestVyosStaticRoutesModule(TestVyosModule): def test_vyos_static_routes_deleted(self): set_module_args( dict( - config=[ - dict( - address_families=[ - dict( - afi="ipv4", routes=[dict(dest="192.0.2.32/28")] - ) - ] - ) - ], + config=[dict(address_families=[dict(afi="ipv4")])], state="deleted", ) ) - commands = ["delete protocols static route 192.0.2.32/28"] + commands = ["delete protocols static route"] self.execute_module(changed=True, commands=commands) |