Skip to content

Commit 9d37255

Browse files
committed
Merge remote-tracking branch 'origin/add_request_files_to_post_comment' into add_request_files_to_post_comment
# Conflicts: # tests/custom_comments/__init__.py
2 parents f376ae4 + 9cdb1b7 commit 9d37255

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/testapp/tests/__init__.py

+4
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ def setUpTestData(cls):
3939
email="joe.normal@example.com",
4040
)
4141

42+
def tearDown(self):
43+
super().tearDown()
44+
shutil.rmtree(settings.MEDIA_ROOT, ignore_errors=True)
45+
4246
def createSomeComments(self):
4347
# Two anonymous comments on two different objects
4448
c1 = get_model().objects.create(

0 commit comments

Comments
 (0)