forked from openlp/openlp
- Fixed PPT name tests by changing Powerpoint into PowerPoint
- Replaced resources.py with trunk version.
This commit is contained in:
parent
4af785bf1d
commit
2c9502418f
@ -69,7 +69,7 @@ class TestMediaItem(TestCase, TestMixin):
|
|||||||
self.media_item.controllers = {
|
self.media_item.controllers = {
|
||||||
'Impress': impress_controller,
|
'Impress': impress_controller,
|
||||||
'Powerpoint': presentation_controller,
|
'Powerpoint': presentation_controller,
|
||||||
'Powerpoint Viewer': presentation_viewer_controller,
|
'PowerPoint Viewer': presentation_viewer_controller,
|
||||||
'Pdf': pdf_controller
|
'Pdf': pdf_controller
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ class TestPowerpointController(TestCase, TestMixin):
|
|||||||
controller = PowerpointController(plugin=self.mock_plugin)
|
controller = PowerpointController(plugin=self.mock_plugin)
|
||||||
|
|
||||||
# THEN: The name of the presentation controller should be correct
|
# THEN: The name of the presentation controller should be correct
|
||||||
self.assertEqual('Powerpoint', controller.name,
|
self.assertEqual('PowerPoint', controller.name,
|
||||||
'The name of the presentation controller should be correct')
|
'The name of the presentation controller should be correct')
|
||||||
|
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ class TestPptviewController(TestCase, TestMixin):
|
|||||||
controller = PptviewController(plugin=self.mock_plugin)
|
controller = PptviewController(plugin=self.mock_plugin)
|
||||||
|
|
||||||
# THEN: The name of the presentation controller should be correct
|
# THEN: The name of the presentation controller should be correct
|
||||||
self.assertEqual('Powerpoint Viewer', controller.name,
|
self.assertEqual('PowerPoint Viewer', controller.name,
|
||||||
'The name of the presentation controller should be correct')
|
'The name of the presentation controller should be correct')
|
||||||
|
|
||||||
def check_available_test(self):
|
def check_available_test(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user