From 6af17bcdb874d0bf14ddb5a7300557355a0f0000 Mon Sep 17 00:00:00 2001
From: Robert Latta <robert.latta@geant.org>
Date: Thu, 20 Jun 2019 13:50:27 +0000
Subject: [PATCH] updated schema to cope with bundle information

---
 test/per_router/test_poller_routes.py | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/test/per_router/test_poller_routes.py b/test/per_router/test_poller_routes.py
index be5ce39c..41ce0f26 100644
--- a/test/per_router/test_poller_routes.py
+++ b/test/per_router/test_poller_routes.py
@@ -34,11 +34,25 @@ def test_router_interfaces(router, client_with_mocked_data):
                     "type": "array",
                     "items": {"$ref": "#/definitions/circuit"}
                 },
+                "bundle": {
+                    "type": "array",
+                    "items": {"type": "string"}
+                },
+                "bundle-parents": {
+                    "type": "array",
+                    "items": {"type": "string"}
+                },
                 "description": {"type": "string"},
                 "name": {"type": "string"},
                 "snmp-index": {"type": "integer"}
             },
-            "required": ["circuits", "description", "name", "snmp-index"],
+            "required": [
+                "circuits",
+                "bundle",
+                "bundle-parents",
+                "description",
+                "name",
+                "snmp-index"],
             "additionalProperties": False
         }
     }
-- 
GitLab