From cec5739267c4c23be03d69c6b2a728fb34be3311 Mon Sep 17 00:00:00 2001 From: Karel van Klink <karel.vanklink@geant.org> Date: Wed, 31 May 2023 14:26:47 +0200 Subject: [PATCH] update tests to include verbs --- test/routes/test_device.py | 1 + test/routes/test_ip_trunk.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/test/routes/test_device.py b/test/routes/test_device.py index 55c294e..0b5fc81 100644 --- a/test/routes/test_device.py +++ b/test/routes/test_device.py @@ -17,6 +17,7 @@ def test_router_provisioning(client): params = { 'callback': callback_url, 'dry_run': True, + 'verb': 'deploy', 'subscription': { 'device': { 'ts_address': '127.0.0.1', diff --git a/test/routes/test_ip_trunk.py b/test/routes/test_ip_trunk.py index 20ac3c9..77584d6 100644 --- a/test/routes/test_ip_trunk.py +++ b/test/routes/test_ip_trunk.py @@ -108,6 +108,7 @@ def test_ip_trunk_provisioning(client): 'callback': callback_url, 'dry_run': True, 'object': 'trunk_interface', + 'verb': 'deploy', 'subscription': _SUBSCRIPTION_OBJECT } @@ -135,6 +136,7 @@ def test_ip_trunk_modification(client): params = { 'callback': callback_url, 'dry_run': True, + 'verb': 'modify', 'subscription': _SUBSCRIPTION_OBJECT, 'old_subscription': _SUBSCRIPTION_OBJECT } @@ -163,6 +165,7 @@ def test_ip_trunk_modification(client): params = { 'callback': callback_url, 'dry_run': True, + 'verb': 'terminate', 'subscription': _SUBSCRIPTION_OBJECT } -- GitLab