Skip to content

Commit

Permalink
Merge a02cc1f into 4858555
Browse files Browse the repository at this point in the history
  • Loading branch information
claudep committed Jan 23, 2017
2 parents 4858555 + a02cc1f commit d3f483a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions runtests.py
Expand Up @@ -4,14 +4,13 @@
test_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, test_dir)

from django.test.utils import get_runner
from django.conf import settings
import django
if django.VERSION >= (1, 7):
django.setup()
from django.conf import settings
from django.test.utils import get_runner


def runtests():
django.setup()
TestRunner = get_runner(settings)
test_runner = TestRunner(verbosity=1, interactive=True)
failures = test_runner.run_tests(['tinymce'])
Expand Down

0 comments on commit d3f483a

Please sign in to comment.