From 3e9bb8c1e6746eac520454f4c2ff5f5e4b22bcc3 Mon Sep 17 00:00:00 2001 From: John Whitlock Date: Sun, 26 Jun 2016 22:11:32 -0500 Subject: [PATCH] Remove run_tests entrypoint This entrypoint was for supporting Django<1.2, which is now unsupported. --- django_nose/__init__.py | 2 +- runtests.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/django_nose/__init__.py b/django_nose/__init__.py index a35003e..b7ef098 100644 --- a/django_nose/__init__.py +++ b/django_nose/__init__.py @@ -5,8 +5,8 @@ from django_nose.runner import BasicNoseRunner, NoseTestSuiteRunner from django_nose.testcases import FastFixtureTestCase assert BasicNoseRunner +assert NoseTestSuiteRunner assert FastFixtureTestCase VERSION = (1, 4, 3) __version__ = '.'.join(map(str, VERSION)) -run_tests = run_gis_tests = NoseTestSuiteRunner diff --git a/runtests.sh b/runtests.sh index 1c3f144..5dff115 100755 --- a/runtests.sh +++ b/runtests.sh @@ -149,8 +149,8 @@ reset_env django_test "./manage.py test $NOINPUT" $TESTAPP_COUNT 'normal settings' reset_env -export TEST_RUNNER="django_nose.run_tests" -django_test "./manage.py test $NOINPUT" $TESTAPP_COUNT 'django_nose.run_tests format' +export TEST_RUNNER="django_nose.NoseTestSuiteRunner" +django_test "./manage.py test $NOINPUT" $TESTAPP_COUNT 'test runner from environment' reset_env django_test "testapp/runtests.py testapp.test_only_this" 1 'via run_tests API'