minor fix to test case

'parent_key': 'id'  refers to a column which does not exist in the parent
translator.
Fixed by changing to 'col_id' defined on line 1199 in parent translator.

Change-Id: Ieb2efb8237ab787e44ba5309104531cb861ac04b
This commit is contained in:
Eric K 2018-06-29 11:46:19 -07:00
parent 270db006cc
commit f782ffc73f
1 changed files with 1 additions and 1 deletions

View File

@ -1191,7 +1191,7 @@ class TestDatasourceDriver(base.TestCase):
class TestDriver(datasource_driver.DataSourceDriver):
subtranslator = {'translation-type': 'LIST',
'table-name': 'subtable',
'parent-key': 'id', 'val-col': 'val',
'parent-key': 'id_col', 'val-col': 'val',
'translator': self.val_trans}
translator = {'translation-type': 'HDICT',