Fix unit test failures caused by type mismatch
Currently unit tests are failing because of the following type mismatch detected. testtools.matchers._impl.MismatchError: '{'k2', 'k1'}' is not an instance of list This change fixes that error. Change-Id: I8ecedd341ba45d1919c9073dda8b2fc390306a52
This commit is contained in:
parent
22e822dde2
commit
b2d6de569c
@ -1402,7 +1402,7 @@ class DataFlowTest(test_base.BaseTest):
|
||||
res = expr.evaluate('<% $.keys() %>', ctx)
|
||||
|
||||
self.assertIsNotNone(res)
|
||||
self.assertIsInstance(res, list)
|
||||
self.assertIsInstance(res, set)
|
||||
self.assertEqual(2, len(res))
|
||||
self.assertIn('k1', res)
|
||||
self.assertIn('k2', res)
|
||||
|
Loading…
Reference in New Issue
Block a user