Skip to content

Commit

Permalink
tests: add test requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
gabor-boros committed Mar 17, 2021
1 parent 258c481 commit 4a31836
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ env:
- PYTHONPATH=`pwd`

install:
- pip install pytest pytest-django
- pip install -r requirements.txt
- pip install -r requirements-test.txt

script: DJANGO_SETTINGS_MODULE=test_settings pytest wistiavideo
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Click the *Edit* button to open up a form where you can enter module title and a

## Running Tests

Before running tests, install `pytest` and `pytest-django`.
Before running tests, run `pip install -r requirements-test.txt`.

```bash
DJANGO_SETTINGS_MODULE=test_settings pytest wistiavideo
Expand Down
7 changes: 7 additions & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-r requirements.txt

django-pyfs==3.0
mock==4.0.3
pytest-django==4.1.0
pytest==6.2.2
xblock-sdk==0.2.2

0 comments on commit 4a31836

Please sign in to comment.