From eee3d7f0e964af209ab73b0b1936719ba7b791b4 Mon Sep 17 00:00:00 2001
From: Stefano Borini <sborini@enthought.com>
Date: Wed, 26 Jul 2017 10:39:38 +0100
Subject: [PATCH] Added test of running evaluation

---
 force_bdss/cli/tests/test_execution.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/force_bdss/cli/tests/test_execution.py b/force_bdss/cli/tests/test_execution.py
index 80f3c87..79c3802 100644
--- a/force_bdss/cli/tests/test_execution.py
+++ b/force_bdss/cli/tests/test_execution.py
@@ -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):
-- 
GitLab