- Fixed PPT name tests by changing Powerpoint into PowerPoint

- Replaced resources.py with trunk version.
This commit is contained in:
suutari-olli 2016-04-12 05:54:23 +03:00
parent 4af785bf1d
commit 2c9502418f
3 changed files with 3 additions and 3 deletions

View File

@ -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
} }

View File

@ -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')

View File

@ -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):