forked from openlp/openlp
pep8
This commit is contained in:
parent
35d2ce263e
commit
560467757a
@ -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.')
|
||||
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user