forked from openlp/openlp
Fix tests for pptview - again
This commit is contained in:
parent
0a018a59fb
commit
e1c00f9689
@ -203,8 +203,8 @@ class TestPptviewDocument(TestCase):
|
|||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
result = instance.load_presentation()
|
result = instance.load_presentation()
|
||||||
|
|
||||||
# THEN: The temporary directory should be created and PptviewDocument.load_presentation should return False
|
# THEN: The temp folder should be created and PptviewDocument.load_presentation should return False
|
||||||
self.mock_makedirs.assert_called_once_with(self.temp_folder)
|
mock_makedirs.assert_called_once_with(self.temp_folder)
|
||||||
self.assertFalse(result)
|
self.assertFalse(result)
|
||||||
|
|
||||||
def create_titles_and_notes_test(self):
|
def create_titles_and_notes_test(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user