Permalink
Browse files

Update django-functest requirement and remove monkeypatch

  • Loading branch information...
rsalmaso committed May 14, 2018
1 parent fa91720 commit adb4d2191ca4a78b13a73d60d8a361e95d485178
Showing with 1 addition and 11 deletions.
  1. +1 −1 setup.py
  2. +0 −10 tests/__init__.py
@@ -35,7 +35,7 @@ def get_path(fname):
]
test_requirements = [
'django-functest>=1.0.2,<1.1',
'django-functest>=1.0.3,<1.1',
'pytest>=3.4,<3.5',
'pytest-django>=3.1,<3.2',
'pytest-cov>=2.4,<2.5',
@@ -1,10 +0,0 @@
def hacks():
from django.test import testcases
if not hasattr(testcases, "WSGIServer"):
# django-functest: patch django until is released a new version with
# https://github.com/django-functest/django-functest/pull/14 merged
from django.core.servers.basehttp import WSGIServer
testcases.WSGIServer = WSGIServer
hacks()

0 comments on commit adb4d21

Please sign in to comment.