Skip to content

Commit 7c89b57

Browse files
Tests: Added mock library for backwards compatbility
1 parent b724a45 commit 7c89b57

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ cache:
3232
install:
3333
- pip install -q Django==$DJANGO_VERSION # install custom django version
3434
- pip install -q djangorestframework==$DJANGO_REST_VERSION # install custom django rest framework version
35+
- pip install -q mock==2.0.0 # install unittest mocks
3536
script:
3637
- python setup.py install
3738
- cd tests/

requirements_test.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
Django==1.10.*
2-
djangorestframework=3.6.*
2+
djangorestframework=3.6.*
3+
mock==2.0.0

0 commit comments

Comments
 (0)