Skip to content

Commit 726a6d5

Browse files
authored
Update testing description
1 parent 6c154a0 commit 726a6d5

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,16 @@ Testing
215215
=======
216216
To run unit tests, run:
217217
```bash
218-
pip install tox
219-
tox -e py37-dj22-drf38
218+
# Setup the virtual environment
219+
python3 -m venv envname
220+
source envname/bin/activate
221+
222+
pip install django
223+
pip install django-rest-framework
224+
pip install -r requirements.txt
225+
226+
# Run tests
227+
py.test
220228
```
221229

222230

@@ -273,4 +281,4 @@ class ChildSerializer(UniqueFieldsMixin, NestedUpdateMixin,
273281

274282
Authors
275283
=======
276-
2014-2020, beda.software
284+
2014-2021, beda.software

0 commit comments

Comments
 (0)