From e1c00f9689fe021b797ccfb8436ddcdfe6596a99 Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Tue, 15 Jul 2014 11:50:52 +0200 Subject: [PATCH] Fix tests for pptview - again --- .../openlp_plugins/presentations/test_pptviewcontroller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/openlp_plugins/presentations/test_pptviewcontroller.py b/tests/functional/openlp_plugins/presentations/test_pptviewcontroller.py index 5f50eef6b..6e6e277d0 100644 --- a/tests/functional/openlp_plugins/presentations/test_pptviewcontroller.py +++ b/tests/functional/openlp_plugins/presentations/test_pptviewcontroller.py @@ -203,8 +203,8 @@ class TestPptviewDocument(TestCase): if os.name == 'nt': result = instance.load_presentation() - # THEN: The temporary directory should be created and PptviewDocument.load_presentation should return False - self.mock_makedirs.assert_called_once_with(self.temp_folder) + # THEN: The temp folder should be created and PptviewDocument.load_presentation should return False + mock_makedirs.assert_called_once_with(self.temp_folder) self.assertFalse(result) def create_titles_and_notes_test(self):