Skip to content

Commit d992e8b

Browse files
committed
Add python-dateutil to test requirements
tests/test_api.py uses python-dateutil, therefore ensure it is installed for Travis and AppVeyor. Signed-off-by: Joshua Lock <jlock@vmware.com>
1 parent 33ac374 commit d992e8b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ install:
2727
- set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
2828
- python -m pip install -U pip setuptools
2929
- pip install -e .
30-
- pip install securesystemslib[crypto,pynacl]
30+
- pip install securesystemslib[crypto,pynacl] python-dateutil
3131
- if %PYTHON_VERSION%==2.7 pip install mock
3232

3333
build: false

requirements-test.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
# test runtime dependencies (see 'tests_require' field in setup.py)
77
mock; python_version < "3.3"
88

9+
# tuf.api tests use python-dateutil
10+
python-dateutil
11+
912
# additional test tools for linting and coverage measurement
1013
coverage
1114
pylint

0 commit comments

Comments
 (0)