Пример #1
0
 def test_setup_teardown(self):
     flow = create_flow("trytry.simple_bash.tests.simple_bash")
     flow.setup_flow()
     self.assertTrue(os.path.isfile(".simple_bash"))
     flow_id = int(open(".simple_bash").read())
     self.assertEqual(flow_id, flow.id)
     flow.teardown_flow()
     self.assertFalse(os.path.isfile(".simple_bash"))
Пример #2
0
 def setUp(self):
     self.flow_obj = create_flow("trytry.simple_python.tests.simple_python")