~netlandish/django-wiki

d1f05b85aa70b467607f9a8802be3a6e7b6d60c2 — Benjamin Bach 6 years ago fa91720 + adb4d21
Merge pull request #866 from rsalmaso/functest

Update django-functest requirement and remove monkeypatch
2 files changed, 1 insertions(+), 11 deletions(-)

M setup.py
M tests/__init__.py
M setup.py => setup.py +1 -1
@@ 35,7 35,7 @@ install_requirements = [
]

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',

M tests/__init__.py => tests/__init__.py +0 -10
@@ 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()