~tomasgroth/openlp/presentation-load-speedup

« back to all changes in this revision

Viewing changes to tests/openlp_core/projectors/test_projector_pjlink_commands_02.py

  • Committer: Tomas Groth
  • Date: 2019-02-14 20:27:22 UTC
  • mfrom: (2815.1.30 openlp)
  • Revision ID: tomasgroth@yahoo.dk-20190214202722-9obmva43p8336sip
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
###############################################################################
5
5
# OpenLP - Open Source Lyrics Projection                                      #
6
6
# --------------------------------------------------------------------------- #
7
 
# Copyright (c) 2008-2015 OpenLP Developers                                   #
 
7
# Copyright (c) 2008-2019 OpenLP Developers                                   #
8
8
# --------------------------------------------------------------------------- #
9
9
# This program is free software; you can redistribute it and/or modify it     #
10
10
# under the terms of the GNU General Public License as published by the Free  #
23
23
Package to test the openlp.core.projectors.pjlink commands package.
24
24
"""
25
25
from unittest import TestCase, skip
26
 
from unittest.mock import patch, call
 
26
from unittest.mock import call, patch
27
27
 
28
28
import openlp.core.projectors.pjlink
29
29
from openlp.core.projectors.constants import PJLINK_PORT, S_CONNECTED, S_OFF, S_ON
30
30
from openlp.core.projectors.db import Projector
31
31
from openlp.core.projectors.pjlink import PJLink, PJLinkUDP
32
 
from tests.resources.projector.data import TEST_HASH, TEST_PIN, TEST_SALT, TEST1_DATA, TEST2_DATA
 
32
from tests.resources.projector.data import TEST1_DATA, TEST2_DATA, TEST_HASH, TEST_PIN, TEST_SALT
33
33
 
34
34
 
35
35
class TestPJLinkCommands(TestCase):