Skip to content

Commit

Permalink
Remove teardown completely
Browse files Browse the repository at this point in the history
  • Loading branch information
stsewd committed May 1, 2018
1 parent 00391b8 commit 3ea856b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions readthedocs/rtd_tests/tests/test_subprojects.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import mock
import django_dynamic_fixture as fixture
from django.contrib.auth.models import User
from django.core.urlresolvers import reverse, set_urlconf
from django.test import TestCase
from django.test.utils import override_settings

Expand Down Expand Up @@ -186,14 +185,6 @@ def setUp(self):
relation.save()
fixture.get(Project, slug='sub_alias', language='ya')

def tearDown(self):
# The urlconf value is preserved for the current thread,
# (is modified to ``readthedocs.core.urls.subdomain``)
# this causes errors when using the reverse function.
# This method call deletes that setting.
# set_urlconf(None)
pass

@override_settings(
PRODUCTION_DOMAIN='readthedocs.org',
USE_SUBDOMAIN=False,
Expand Down

0 comments on commit 3ea856b

Please sign in to comment.