Commit 9f1779ed by Jesse Zoldak

Merge pull request #4795 from edx/zoldak/clean-mako-dir

Clean out the mako temp dirs before running tests
parents 563b62a8 e399c0b1
...@@ -15,6 +15,7 @@ def clean_test_files(): ...@@ -15,6 +15,7 @@ def clean_test_files():
sh("git clean -fqdx test_root/logs test_root/data test_root/staticfiles test_root/uploads") sh("git clean -fqdx test_root/logs test_root/data test_root/staticfiles test_root/uploads")
sh("find . -type f -name \"*.pyc\" -delete") sh("find . -type f -name \"*.pyc\" -delete")
sh("rm -rf test_root/log/auto_screenshots/*") sh("rm -rf test_root/log/auto_screenshots/*")
sh("rm -rf /tmp/mako_[cl]ms")
def clean_dir(directory): def clean_dir(directory):
......
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