Skip to content

Commit 9e3f4ea

Browse files
committed
Enable test for django-rest-framework serializer
1 parent 4ee9cd0 commit 9e3f4ea

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ env:
88
- DJANGO="2.0,<3.0"
99

1010
install:
11-
- pip install coverage coveralls
11+
- pip install coverage coveralls djangorestframework
1212
- pip install "Django>=$DJANGO"
1313
- pip install git+https://github.com/landscapeio/pylint-plugin-utils.git@master
1414
script:

test/external_drf/func_noerror_serializer.py renamed to test/input/external_drf_noerror_serializer.py

-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@
88
class TestSerializerSubclass(serializers.ModelSerializer):
99
class Meta:
1010
pass
11-
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[testoptions]
2+
requires = rest_framework

0 commit comments

Comments
 (0)