Skip to content

Commit

Permalink
Add python-dateutil to test requirements
Browse files Browse the repository at this point in the history
tests/test_api.py uses python-dateutil, therefore ensure it is installed
for Travis and AppVeyor.

Signed-off-by: Joshua Lock <[email protected]>
  • Loading branch information
joshuagl committed Oct 21, 2020
1 parent bea1441 commit d7aade8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ install:
- set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
- python -m pip install -U pip setuptools
- pip install -e .
- pip install securesystemslib[crypto,pynacl]
- pip install securesystemslib[crypto,pynacl] python-dateutil
- if %PYTHON_VERSION%==2.7 pip install mock

build: false
Expand Down
3 changes: 3 additions & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
# test runtime dependencies (see 'tests_require' field in setup.py)
mock; python_version < "3.3"

# tuf.api tests use python-dateutil
python-dateutil

# additional test tools for linting and coverage measurement
coverage
pylint
Expand Down

0 comments on commit d7aade8

Please sign in to comment.