From 3ab82e0e018bf0ca02f14391d03e15b3c259da0a Mon Sep 17 00:00:00 2001 From: Rohit Thakur Date: Wed, 6 May 2020 20:20:08 +0530 Subject: linters fix Signed-off-by: Rohit Thakur --- tests/unit/modules/network/vyos/test_vyos_static_routes.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'tests/unit/modules/network') 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 3646d610..85c08422 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) -- cgit v1.2.3