Skip to content

Commit

Permalink
Remove run_tests entrypoint
Browse files Browse the repository at this point in the history
This entrypoint was for supporting Django<1.2, which is now unsupported.
  • Loading branch information
jwhitlock committed Jun 27, 2016
1 parent 7f961ac commit 3e9bb8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion django_nose/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions runtests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 3e9bb8c

Please sign in to comment.