summaryrefslogtreecommitdiffstats
path: root/tests/data/json_data.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/data/json_data.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/tests/data/json_data.py b/tests/data/json_data.py
index ad2c9ed..5630840 100644
--- a/tests/data/json_data.py
+++ b/tests/data/json_data.py
@@ -2,6 +2,7 @@
# Use of this source code is governed by the Apache License 2.0
# that can be found in the LICENSE file.
# pylint: skip-file
+"""JSON Data for unit tests."""
INVENTORY_MODEL_HOST_VALID = [
{"name": "validIPv4", "input": "1.1.1.1", "expected_result": "valid"},
@@ -92,7 +93,7 @@ INVENTORY_MODEL_VALID = [
"ranges": [
{"start": "10.1.0.1", "end": "10.1.0.10"},
{"start": "10.2.0.1", "end": "10.2.1.10"},
- ]
+ ],
},
"expected_result": "valid",
},
@@ -150,8 +151,8 @@ ANTA_INVENTORY_TESTS_VALID = [
"ranges": [
{"start": "10.0.0.1", "end": "10.0.0.11"},
{"start": "10.0.0.101", "end": "10.0.0.111"},
- ]
- }
+ ],
+ },
},
"expected_result": "valid",
"parameters": {
@@ -197,8 +198,8 @@ ANTA_INVENTORY_TESTS_VALID = [
"ranges": [
{"start": "10.0.0.1", "end": "10.0.0.11", "tags": ["leaf"]},
{"start": "10.0.0.101", "end": "10.0.0.111", "tags": ["spine"]},
- ]
- }
+ ],
+ },
},
"expected_result": "valid",
"parameters": {
@@ -242,8 +243,8 @@ ANTA_INVENTORY_TESTS_INVALID = [
"ranges": [
{"start": "10.0.0.1", "end": "10.0.0.11"},
{"start": "10.0.0.100", "end": "10.0.0.111"},
- ]
- }
+ ],
+ },
},
"expected_result": "invalid",
},