Skip to content

Commit

Permalink
Restore xml test results.
Browse files Browse the repository at this point in the history
  • Loading branch information
teemulehtinen committed May 28, 2015
1 parent ad34c91 commit a4b475e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 36 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ dump.json
media
*.orig

course/fixtures/
xmlrunner/
test_results/

selenium_test/aplus.out
Expand Down
21 changes: 4 additions & 17 deletions a-plus/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,23 +148,10 @@
# Testing
# https://docs.djangoproject.com/en/1.7/topics/testing/advanced/

# Unit test XML-reporting (fix for Python 3)
# TEST_RUNNER = "test_runner.custom_xml_test_runner.ExcludeAppsXMLTestRunner"
# TEST_OUTPUT_VERBOSE = True
# TEST_OUTPUT_DESCRIPTIONS = True
# TEST_OUTPUT_DIR = "test_results"

TEST_EXCLUDE_APPS = (
'django.contrib.contenttypes',
'django.contrib.staticfiles',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.admin',
'django.contrib.auth',
'django_shibboleth',
'tastypie',
'south',
)
TEST_RUNNER = "xmlrunner.extra.djangotestrunner.XMLTestRunner"
TEST_OUTPUT_VERBOSE = True
TEST_OUTPUT_DESCRIPTIONS = True
TEST_OUTPUT_DIR = "test_results"

# Overrides and appends settings defined in local_settings.py
try:
Expand Down
11 changes: 5 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# This is a requirements file for pip
Django==1.7.7
PyYAML==3.10
amqplib==1.0.2
#amqplib==1.0.2
anyjson==0.3.3
beautifulsoup4==4.3.2
billiard==2.7.3.17
#billiard==2.7.3.17
biplist==0.5
celery==3.0.11
django-celery==3.0.11
#celery==3.0.11
#django-celery==3.0.11
django-tastypie==0.12.1
feedparser==5.1.2
html5lib==0.99
httplib2==0.7.6
icalendar==3.9.0
kombu==2.4.7
#kombu==2.4.7
lxml==3.0.1
mimeparse==0.1.3
oauthlib==0.6.2
Expand All @@ -23,5 +23,4 @@ pytz==2012f
six==1.9.0
south==0.8.2
unittest-xml-reporting==1.11.0
#wsgiref==0.1.2
selenium==2.45.0
Empty file removed test_runner/__init__.py
Empty file.
11 changes: 0 additions & 11 deletions test_runner/custom_xml_test_runner.py

This file was deleted.

0 comments on commit a4b475e

Please sign in to comment.