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
This commit is contained in:
Pierre Crégut 2018-01-26 09:19:54 +01:00
parent 5373af362d
commit 7f9581ce12
1 changed files with 1 additions and 1 deletions

View File

@ -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'),