From f782ffc73f23645d8718acab5a97e251caf0a0fd Mon Sep 17 00:00:00 2001 From: Eric K Date: Fri, 29 Jun 2018 11:46:19 -0700 Subject: [PATCH] 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 --- congress/tests/datasources/test_datasource_driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/congress/tests/datasources/test_datasource_driver.py b/congress/tests/datasources/test_datasource_driver.py index 23a4fdfe0..420eb7dae 100644 --- a/congress/tests/datasources/test_datasource_driver.py +++ b/congress/tests/datasources/test_datasource_driver.py @@ -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',