Skip to content

Commit

Permalink
pin fs, fix doc tests
Browse files Browse the repository at this point in the history
Fix scapy

Scapy has a pip requirements bug in 2.4.2, which is currently installed by default. We're pinning it to 2.4.3rc1 until the default version in PIP has the fix included.

increase timeout for tests
  • Loading branch information
xandfury committed Jul 31, 2019
1 parent ea6a01a commit 8c76abc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,9 @@ docs/build
.DS_Store

docs/source/conpot_version.py
.log
*.log

log/
conpot.log
.cache/
.tox
.pytest_cache/
Expand Down
7 changes: 4 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ libtaxii>=1.1.0
xlrd
crc16
natsort
scapy
scapy==2.4.3rc1
enum34
hpfeeds3
modbus-tk
Expand All @@ -27,10 +27,11 @@ mixbox
modbus-tk
cpppo
pytest
fs
fs==2.3.0
python-slugify
tftpy
freezegun
pytest
tox
pycrypto
pycrypto
sphinx_rtd_theme
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ deps =
commands =
pip --default-timeout=1000 install -r requirements.txt
# {posargs:coverage run --timid --source={envpython} -m pytest -v --timeout=30}
{envpython} -m pytest -rsx -v --timeout=30 --cov=conpot {posargs}
{envpython} -m pytest -rsx -v --timeout=60 --cov=conpot {posargs}

[testenv:run]
envdir = {toxinidir}/.tox/py36
Expand Down

0 comments on commit 8c76abc

Please sign in to comment.