def test_2(self): with capture_stdout() as output: self.assertFalse( execute( [ ("StandardOutput", "org.vistrails.vistrails.basic", [("value", [("String", "two")])]), ("StandardOutput", "org.vistrails.vistrails.basic", [("value", [("String", "one")])]), ("ExecuteInOrder", "org.vistrails.vistrails.control_flow", []), ], [(1, "self", 2, "module1"), (0, "self", 2, "module2")], ) ) self.assertEqual(output, ["one", "two"])
def test_2(self): with capture_stdout() as output: self.assertFalse(execute([ ('StandardOutput', 'org.vistrails.vistrails.basic', [ ('value', [('String', 'two')]), ]), ('StandardOutput', 'org.vistrails.vistrails.basic', [ ('value', [('String', 'one')]), ]), ('ExecuteInOrder', 'org.vistrails.vistrails.control_flow', []), ], [ (1, 'self', 2, 'module1'), (0, 'self', 2, 'module2'), ])) self.assertEqual(output, ['one', 'two'])
def test_2(self): with capture_stdout() as output: self.assertFalse( execute([ ('StandardOutput', 'org.vistrails.vistrails.basic', [ ('value', [('String', 'two')]), ]), ('StandardOutput', 'org.vistrails.vistrails.basic', [ ('value', [('String', 'one')]), ]), ('ExecuteInOrder', 'org.vistrails.vistrails.control_flow', []), ], [ (1, 'self', 2, 'module1'), (0, 'self', 2, 'module2'), ])) self.assertEqual(output, ['one', 'two'])