VOL-1312 - Resource Manager should not require hard coded vendor/models
Changed extra-args parser to not require any validation checks from
a choice list.
Changed openolt to auto create the extra args from device info if
not provided via CLI.
Changed openolt to use model vs vendor as the resource manager
techprofile path.
Change-Id: Ib7befc581574abb5c4fb30355f830a9fdafe1b60
diff --git a/tests/utests/common/test_pon_resource_manager.py b/tests/utests/common/test_pon_resource_manager.py
index 6205ee4..8a03294 100644
--- a/tests/utests/common/test_pon_resource_manager.py
+++ b/tests/utests/common/test_pon_resource_manager.py
@@ -42,7 +42,7 @@
def test_init_pon_resource_ranges(self):
output = json.dumps(self.default_resource_range).encode('utf-8')
- self._rm._get_olt_vendor = Mock(return_value='default')
+ self._rm._get_olt_model = Mock(return_value='default')
self._rm._kv_store.get_from_kv_store = Mock(return_value=output)
self._rm.init_resource_ranges_from_kv_store()