Added hacks for django-functest and to support django 2 django-functest has a PR for its support
1 files changed, 10 insertions(+), 0 deletions(-) M tests/__init__.py
M tests/__init__.py => tests/__init__.py +10 -0
@@ 0,0 1,10 @@ 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()