Browse Source

Updated module paths.

pyserial_fix
Scott Petersen 11 years ago
parent
commit
b6149708b7
4 changed files with 11 additions and 11 deletions
  1. +5
    -5
      test/test_ad2.py
  2. +2
    -2
      test/test_devices.py
  3. +2
    -2
      test/test_messages.py
  4. +2
    -2
      test/test_zonetracking.py

+ 5
- 5
test/test_ad2.py View File

@@ -3,11 +3,11 @@ import time
from unittest import TestCase
from mock import Mock, MagicMock, patch

from ..decoder import AlarmDecoder
from ..devices import USBDevice
from ..messages import Message, RFMessage, LRRMessage, ExpanderMessage
from ..event.event import Event, EventHandler
from ..zonetracking import Zonetracker
from alarmdecoder.decoder import AlarmDecoder
from alarmdecoder.devices import USBDevice
from alarmdecoder.messages import Message, RFMessage, LRRMessage, ExpanderMessage
from alarmdecoder.event.event import Event, EventHandler
from alarmdecoder.zonetracking import Zonetracker


class TestAlarmDecoder(TestCase):


+ 2
- 2
test/test_devices.py View File

@@ -8,8 +8,8 @@ import time
import tempfile
import os
from OpenSSL import SSL, crypto
from ..devices import USBDevice, SerialDevice, SocketDevice
from ..util import NoDeviceError, CommError, TimeoutError
from alarmdecoder.devices import USBDevice, SerialDevice, SocketDevice
from alarmdecoder.util import NoDeviceError, CommError, TimeoutError


class TestUSBDevice(TestCase):


+ 2
- 2
test/test_messages.py View File

@@ -1,7 +1,7 @@
from unittest import TestCase

from ..messages import Message, ExpanderMessage, RFMessage, LRRMessage
from ..util import InvalidMessageError
from alarmdecoder.messages import Message, ExpanderMessage, RFMessage, LRRMessage
from alarmdecoder.util import InvalidMessageError


class TestMessages(TestCase):


+ 2
- 2
test/test_zonetracking.py View File

@@ -1,8 +1,8 @@
from unittest import TestCase
from mock import Mock, MagicMock

from ..messages import Message, ExpanderMessage
from ..zonetracking import Zonetracker, Zone
from alarmdecoder.messages import Message, ExpanderMessage
from alarmdecoder.zonetracking import Zonetracker, Zone


class TestZonetracking(TestCase):


Loading…
Cancel
Save