summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorRohit Thakur <rohitthakur2590@outlook.com>2020-05-06 20:20:08 +0530
committerRohit Thakur <rohitthakur2590@outlook.com>2020-05-06 20:20:08 +0530
commit3ab82e0e018bf0ca02f14391d03e15b3c259da0a (patch)
tree2181da8342fbe2d47b46ff78b4ca532ed68c3f34 /tests/unit
parent77e8b041b2983415ac36eb6264f6e385ac87b074 (diff)
downloadvyos.vyos-3ab82e0e018bf0ca02f14391d03e15b3c259da0a.tar.gz
vyos.vyos-3ab82e0e018bf0ca02f14391d03e15b3c259da0a.zip
linters fix
Signed-off-by: Rohit Thakur <rohitthakur2590@outlook.com>
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/modules/network/vyos/test_vyos_static_routes.py12
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)