def test_write_inputs_divider(self): app = ContainerApp() expected_inputs = '--greetings_csv* -- names_csv' app.write_inputs(expected_inputs) inputs = app.inputs self.assertEqual(expected_inputs, inputs)
def test_write_input_multiple(self): app = ContainerApp() expected_inputs = 'greetings_csv* names_csv' app.write_inputs(expected_inputs) inputs = app.inputs self.assertEqual(expected_inputs, inputs)
def test_write_inputs_divider(self): app = ContainerApp() expected_inputs = '--greetings_csv* -- names_csv' app.write_inputs(expected_inputs) inputs = app.inputs self.assertEqual(expected_inputs, inputs)
def test_write_input_multiple(self): app = ContainerApp() expected_inputs = 'greetings_csv* names_csv' app.write_inputs(expected_inputs) inputs = app.inputs self.assertEqual(expected_inputs, inputs)
def test_write_input_bad_multiple(self): app = ContainerApp() with self.assertRaisesRegex(ValueError, r'Invalid argument name: greetings_csv/'): app.write_inputs('greetings_csv/ names_csv')
def test_write_input_bad_multiple(self): app = ContainerApp() with self.assertRaisesRegexp(ValueError, r'Invalid argument name: greetings_csv/'): app.write_inputs('greetings_csv/ names_csv')