summaryrefslogtreecommitdiffstats
path: root/conductor/conductor/tests/unit/data/plugins/inventory_provider
diff options
context:
space:
mode:
Diffstat (limited to 'conductor/conductor/tests/unit/data/plugins/inventory_provider')
-rw-r--r--conductor/conductor/tests/unit/data/plugins/inventory_provider/test_candidates.py1
-rw-r--r--conductor/conductor/tests/unit/data/plugins/inventory_provider/test_generator.py2
2 files changed, 3 insertions, 0 deletions
diff --git a/conductor/conductor/tests/unit/data/plugins/inventory_provider/test_candidates.py b/conductor/conductor/tests/unit/data/plugins/inventory_provider/test_candidates.py
index ded58ad..acf24c4 100644
--- a/conductor/conductor/tests/unit/data/plugins/inventory_provider/test_candidates.py
+++ b/conductor/conductor/tests/unit/data/plugins/inventory_provider/test_candidates.py
@@ -39,6 +39,7 @@ class TestCandidates(unittest.TestCase):
"core_reliability": 99.99,
"cost": 1.0,
"coverage_area": "City: Chennai",
+ "coverage_area_ta_list": "City: Chennai",
"inventory_provider": "generator",
"inventory_type": "slice_profiles",
"latency": 25,
diff --git a/conductor/conductor/tests/unit/data/plugins/inventory_provider/test_generator.py b/conductor/conductor/tests/unit/data/plugins/inventory_provider/test_generator.py
index 6978940..20218ab 100644
--- a/conductor/conductor/tests/unit/data/plugins/inventory_provider/test_generator.py
+++ b/conductor/conductor/tests/unit/data/plugins/inventory_provider/test_generator.py
@@ -38,6 +38,8 @@ class TestGenerator(unittest.TestCase):
candidates_file = './conductor/tests/unit/data/plugins/inventory_provider/generated_candidates.json'
expected_candidates = json.loads(open(candidates_file).read())
+ for candidate in expected_candidates:
+ candidate['coverage_area_ta_list'] = [234,123,421]
coverage_area_file='./conductor/tests/unit/data/plugins/inventory_provider/coverage_area.json'
coverage_area_json = json.loads(open(coverage_area_file).read())
generator = Generator()