From adb4d2191ca4a78b13a73d60d8a361e95d485178 Mon Sep 17 00:00:00 2001 From: Raffaele Salmaso Date: Mon, 14 May 2018 14:28:36 +0200 Subject: [PATCH] Update django-functest requirement and remove monkeypatch --- setup.py | 2 +- tests/__init__.py | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/setup.py b/setup.py index 97c52dae..ce1b45e0 100755 --- a/setup.py +++ b/setup.py @@ -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', diff --git a/tests/__init__.py b/tests/__init__.py index 5814e8a7..e69de29b 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -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() -- 2.45.2