This is the recommended location and import config as it allows running the
tests against installed versions of the package. And while the test file
itself is automatically included in the source distribution this way, the
__init__.py file is not, so we still have to update MANIFEST.in.
include LICENSE
include README.rst
+include tox.ini
+recursive-include test *.py
setup.py.in \
tox.ini \
tox.sh \
- vici/test/__init__.py \
- vici/test/test_protocol.py \
+ test/__init__.py \
+ test/test_protocol.py \
vici/__init__.py \
vici/command_wrappers.py \
vici/compat.py \
import pytest
-from ..protocol import Packet, Message, FiniteStream
-from ..exception import DeserializationException
+from vici.protocol import Packet, Message, FiniteStream
+from vici.exception import DeserializationException
class TestPacket(object):