Skip to content

Commit ac43afc

Browse files
committed
Fix an issue with the new checks in test context.
- Legacy-Id: 10205
1 parent f41553f commit ac43afc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ietf/doc/tests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,6 @@ def test_template_tags(self):
740740
self.assertEqual(failures, 0)
741741

742742
class ReferencesTest(TestCase):
743-
perma_fixtures = ['names']
744743

745744
def test_references(self):
746745
make_test_data()
@@ -783,9 +782,11 @@ def setUp(self):
783782
784783
""")
785784
self.doc_alias_file.close()
785+
self.saved_draft_virtual_path = settings.DRAFT_VIRTUAL_PATH
786786
settings.DRAFT_VIRTUAL_PATH = self.doc_alias_file.name
787787

788788
def tearDown(self):
789+
settings.DRAFT_VIRTUAL_PATH = self.saved_draft_virtual_path
789790
os.unlink(self.doc_alias_file.name)
790791

791792
def testAliases(self):

0 commit comments

Comments
 (0)