Replace 'assertFalse(a in b)' with 'assertNotIn(a, b)'

trivialfix

Change-Id: I1fd2a79ce6df1e18622b768dd8abd967b6d86f02
This commit is contained in:
Cao Xuan Hoang 2016-11-18 15:17:14 +07:00
parent 6094642a4f
commit f7eb3e7b71

View File

@ -89,7 +89,7 @@ class DataFlowEngineTest(engine_test_base.EngineTestCase):
# Make sure that task inbound context doesn't contain workflow
# execution info.
self.assertFalse('__execution' in task1.in_context)
self.assertNotIn('__execution', task1.in_context)
def test_linear_with_branches_dataflow(self):
linear_with_branches_wf = """---