Commit 9dab45ee authored by Claude Paroz's avatar Claude Paroz

Clean html dir in DocsBuildingTests

parent 3cc14948
......@@ -780,6 +780,12 @@ class VertimusTest(TeamsAndRolesMixin, TestCase):
class DocsBuildingTests(TeamsAndRolesMixin, TestModuleBase):
def setUp(self):
super().setUp()
html_dir = Path(settings.SCRATCHDIR) / 'HTML'
if html_dir.exists():
shutil.rmtree(str(html_dir))
def test_doc_building(self):
dom = Domain.objects.create(
module=self.mod, name='help', description='User Guide', dtype='doc',
......
Markdown is supported
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