Skip to content

Commit

Permalink
Merge pull request #14 from cfe-lab/skipfieldfix
Browse files Browse the repository at this point in the history
Skipfieldfix
  • Loading branch information
stphivos authored Oct 20, 2016
2 parents a8954a3 + 86f8396 commit 82fc704
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions django_mock_queries/asserts.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

from .constants import *

SkipField = locate('rest_framework.fields.SkipField')


class SerializerAssert:
_obj = None
Expand Down
1 change: 0 additions & 1 deletion django_mock_queries/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,3 @@
DjangoQuerySet = locate('django.db.models.QuerySet')
ObjectDoesNotExist = locate('django.core.exceptions.ObjectDoesNotExist')
MultipleObjectsReturned = locate('django.core.exceptions.MultipleObjectsReturned')
SkipField = locate('rest_framework.fields.SkipField')
1 change: 1 addition & 0 deletions requirements/requirements-testing.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
-r requirements.txt

flake8==2.5.4
pytest==2.8.2
pytest-cov==2.2.0
pytest-flake8==0.2
Expand Down

0 comments on commit 82fc704

Please sign in to comment.