summaryrefslogtreecommitdiff
path: root/testenv
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-04-13 06:18:33 +0300
committerDevaev Maxim <[email protected]>2019-04-13 06:18:33 +0300
commit0c82937d3c0dfd7c9436a2cec62f9f56a5f11aa8 (patch)
tree6cb55a29950eb75ac6078d362f7b92e56047bfe5 /testenv
parent5bf758e232361e2b7a6b64e4b1750a10d896bb2d (diff)
refactoring
Diffstat (limited to 'testenv')
-rw-r--r--testenv/Dockerfile5
-rw-r--r--testenv/linters/vulture-wl.py3
-rw-r--r--testenv/requirements.txt3
-rw-r--r--testenv/tox.ini3
4 files changed, 7 insertions, 7 deletions
diff --git a/testenv/Dockerfile b/testenv/Dockerfile
index d958a501..91790432 100644
--- a/testenv/Dockerfile
+++ b/testenv/Dockerfile
@@ -32,8 +32,10 @@ RUN pacman -Syy \
&& user-packer -S --noconfirm \
python \
python-pip \
+ python-tox \
python-systemd \
python-dbus \
+ python-mako \
nginx-mainline \
ustreamer \
socat \
@@ -42,9 +44,6 @@ RUN pacman -Syy \
&& rm -rf /.npm \
&& (pacman -Sc --noconfirm || true)
-COPY testenv/requirements.txt requirements.txt
-RUN pip install -r requirements.txt
-
RUN mkdir -p /etc/kvmd/nginx
CMD /bin/bash
diff --git a/testenv/linters/vulture-wl.py b/testenv/linters/vulture-wl.py
index c0835cae..68110436 100644
--- a/testenv/linters/vulture-wl.py
+++ b/testenv/linters/vulture-wl.py
@@ -4,3 +4,6 @@ _MassStorageDeviceInfo.real
_MassStorageDeviceInfo.hw
_MassStorageDeviceInfo.image
fake_rpi.RPi.GPIO
+_KeyMapping.kvmd_code
+_KeyMapping.arduino_hid_key
+_KeyMapping.web_key
diff --git a/testenv/requirements.txt b/testenv/requirements.txt
index b5dc4511..27e4f479 100644
--- a/testenv/requirements.txt
+++ b/testenv/requirements.txt
@@ -7,7 +7,4 @@ pyudev
pyyaml
pyserial
setproctitle
-systemd-python
-dbus-python
pygments
-tox
diff --git a/testenv/tox.ini b/testenv/tox.ini
index 3be89343..55d51892 100644
--- a/testenv/tox.ini
+++ b/testenv/tox.ini
@@ -1,9 +1,10 @@
[tox]
envlist = flake8, pylint, mypy, vulture, pytest, eslint, htmlhint
-skipsdist = True
+skipsdist = true
[testenv]
basepython = python3.7
+sitepackages = true
changedir = /src
[testenv:flake8]