Skip to content
Snippets Groups Projects
Commit eee3d7f0 authored by Stefano Borini's avatar Stefano Borini
Browse files

Added test of running evaluation

parent 4998e771
No related branches found
No related tags found
1 merge request!45Added support for MCO named parameters.
......@@ -28,6 +28,12 @@ class TestExecution(unittest.TestCase):
out = subprocess.check_call(["force_bdss", "test_csv.json"])
self.assertEqual(out, 0)
def test_plain_invocation_evaluate(self):
with cd(fixtures.dirpath()):
out = subprocess.check_call([
"force_bdss", "--evaluate", "test_csv.json"])
self.assertEqual(out, 0)
def test_unsupported_file_input(self):
with cd(fixtures.dirpath()):
with self.assertRaises(subprocess.CalledProcessError):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment