diff options
Diffstat (limited to 'xtesting/tests/unit/core/test_robotframework.py')
-rw-r--r-- | xtesting/tests/unit/core/test_robotframework.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xtesting/tests/unit/core/test_robotframework.py b/xtesting/tests/unit/core/test_robotframework.py index 7131b7e2..93111f38 100644 --- a/xtesting/tests/unit/core/test_robotframework.py +++ b/xtesting/tests/unit/core/test_robotframework.py @@ -169,6 +169,7 @@ class RunTesting(unittest.TestCase): self._test_makedirs() args[0].assert_called_once_with(self.test.res_dir) + @mock.patch('os.makedirs') @mock.patch('robot.run') def _test_parse_results(self, status, *args): self.assertEqual( @@ -180,6 +181,7 @@ class RunTesting(unittest.TestCase): *self.suites, log='NONE', output=self.test.xml_file, report='NONE', stdout=mock.ANY, variable=self.variable, variablefile=self.variablefile) + args[1].assert_called_once_with(self.test.res_dir) def test_parse_results_exc(self): with mock.patch.object(self.test, 'parse_results', |