From 7f9581ce12449c572bb96e496205c986f4ce2a14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20Cr=C3=A9gut?= Date: Fri, 26 Jan 2018 09:19:54 +0100 Subject: [PATCH] Use an existing option in cfg_validator test. TestCfgValidatorDriver.test_metadata_sent used datasource_file, a deprecated option that was removed. Use datasource_sync_period instead. Change-Id: I7f769a0cf072bc48eb1ed361275da9cbbd256d20 --- .../tests/scenario/congress_datasources/test_cfg_validator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/congress_tempest_plugin/tests/scenario/congress_datasources/test_cfg_validator.py b/congress_tempest_plugin/tests/scenario/congress_datasources/test_cfg_validator.py index ad8aa0c..f1d02f1 100644 --- a/congress_tempest_plugin/tests/scenario/congress_datasources/test_cfg_validator.py +++ b/congress_tempest_plugin/tests/scenario/congress_datasources/test_cfg_validator.py @@ -84,7 +84,7 @@ class TestCfgValidatorDriver(manager_congress.ScenarioPolicyBase): if res1 is None or res2 is None: return False row1 = next((r for r in res1 - if r['data'][col1_name] == u'datasource_file'), + if r['data'][col1_name] == u'datasource_sync_period'), None) row2 = next((r for r in res2 if r['data'][col2_name] == u'congress'),