~trb143/openlp/bug-1516171-24

« back to all changes in this revision

Viewing changes to tests/functional/openlp_plugins/presentations/test_pdfcontroller.py

  • Committer: Raoul Snyman
  • Author(s): Tomas Groth
  • Date: 2015-06-14 18:38:44 UTC
  • mfrom: (2543.1.14 bugfixes21)
  • Revision ID: raoul@snyman.info-20150614183844-wxfg3itu1zu9toiu
Fix path of presentation thumbnail when loading from service files. Fixes bug 1463703.
Fix PDF reader using wrong maindisplay size.
Fix log-traceback when trying to remove servicemanager files before eg. powerpoint has closed the files.
Improve network exception handling.
Fix timer that checks for presentation slide change, remove powerpoint event handler that did the same.
Hide the main impress window when loading a presentation, but make it visible for a moment when starting presentation. Fixes bug 1420356.
Improve the detection of powerpoints presentation window by only looking at the filename root.
Fix traceback when going live with presentation while blanked to desktop.
Set service_item.name to "images" for pdfs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
            self.assertEqual(760, image.height(), 'The height should be 760')
136
136
            self.assertEqual(537, image.width(), 'The width should be 537')
137
137
        else:
138
 
            self.assertEqual(767, image.height(), 'The height should be 767')
 
138
            self.assertEqual(768, image.height(), 'The height should be 768')
139
139
            self.assertEqual(543, image.width(), 'The width should be 543')