From 7a77e88a182193c468c66a7e38b05e3f9c4b10a7 Mon Sep 17 00:00:00 2001 From: Nik Nyby Date: Wed, 6 Dec 2017 11:47:30 -0500 Subject: [PATCH] Remove django-jenkins We can just use django's test runner, like we're using in many places. No need to include this package. --- runtests.py | 10 ++-------- test_reqs.txt | 1 - 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/runtests.py b/runtests.py index 24eb175..675b1c3 100644 --- a/runtests.py +++ b/runtests.py @@ -33,10 +33,8 @@ def main(): 'django.contrib.contenttypes', 'django.contrib.sessions', 'djangowind', - 'django_jenkins', ), SITE_ID=1, - JENKINS_TEST_RUNNER = 'django_jenkins.runner.CITestSuiteRunner', TEST_RUNNER='django.test.runner.DiscoverRunner', TEMPLATES=[ @@ -83,14 +81,10 @@ def main(): }, ) - try: - # required by Django 1.7 and later - django.setup() - except AttributeError: - pass + django.setup() # Fire off the tests - call_command('jenkins') + call_command('test') if __name__ == '__main__': main() diff --git a/test_reqs.txt b/test_reqs.txt index e426043..92a29ca 100644 --- a/test_reqs.txt +++ b/test_reqs.txt @@ -1,7 +1,6 @@ coverage==4.4.2 mock==2.0.0 flake8==3.5.0 -django-jenkins==0.110.0 pep8==1.7.1 pyflakes==1.6.0 statsd==3.2.1