This commit is contained in:
Tim Bentley 2017-12-23 09:30:02 +00:00
parent 35d2ce263e
commit 560467757a
5 changed files with 7 additions and 7 deletions

View File

@ -156,7 +156,7 @@ class TestPowerpointDocument(TestCase, TestMixin):
result = doc.is_loaded()
# THEN: result should be true
assert result == True, 'The result should be True'
assert result is True, 'The result should be True'
else:
self.skipTest('Powerpoint not available, skipping test.')

View File

@ -71,5 +71,5 @@ class TestOpenLPImport(TestCase):
# THEN: do_import should return none and the progress bar maximum should not be set.
assert importer.do_import() is None, 'do_import should return None when import_source is not a list'
assert mocked_import_wizard.progress_bar.setMaximum.called == False, \
assert mocked_import_wizard.progress_bar.setMaximum.called is False, \
'setMaximum on import_wizard.progress_bar should not have been called'