~tomasgroth/openlp/refix-win-display

« back to all changes in this revision

Viewing changes to tests/functional/openlp_core_lib/test_projector_pjlink1.py

  • Committer: Tomas Groth
  • Author(s): springermac at gmail
  • Date: 2016-01-11 20:27:11 UTC
  • mfrom: (2602.1.4 fix-tests)
  • Revision ID: tomasgroth@yahoo.dk-20160111202711-8v63i35sts0rqwjn
Fix Mac OS X display flags test
Fix import in pjlink tests
Skip OpenOffice test if uno isn't available, e.g., on Mac OS X

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
from unittest import TestCase
27
27
 
28
 
from mock import MagicMock, patch
29
 
 
30
28
from openlp.core.lib.projector.pjlink1 import PJLink1
31
29
 
 
30
from tests.functional import patch
32
31
from tests.resources.projector.data import TEST_PIN, TEST_SALT, TEST_CONNECT_AUTHENTICATE
33
32
 
34
33
pjlink_test = PJLink1(name='test', ip='127.0.0.1', pin=TEST_PIN, no_poll=True)