Unverified Commit 443a81dd authored by Thom Wiggers's avatar Thom Wiggers 📐
Browse files

Repair the state of the test cases

super()'s tearDownClass() should be called in the overridden method.
parent 11953bbc
......@@ -32,6 +32,7 @@ class TestThabloid(TestCase):
"""Clean up remaining Thabloid files"""
shutil.rmtree(settings.MEDIA_ROOT)
settings.MEDIA_ROOT = cls._old_media_root
super().tearDownClass()
def test_thaboid_get_absolute_url(self):
self.assertEqual(self.thabloid.get_absolute_url(),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment