@task
@timed
def clean_test_files():
 sh('git clean -fqdx test_root/logs test_root/data test_root/staticfiles test_root/uploads')
 sh("find . -name '.git' -prune -o -name '*.pyc' -exec rm {} \\;")
 sh('rm -rf test_root/log/auto_screenshots/*')
 sh('rm -rf /tmp/mako_[cl]ms')

@ task @ timed def clean_test_files ( ) : sh ( 'git clean -fqdx test_root/logs test_root/data test_root/staticfiles test_root/uploads' ) sh ( "find . -name '.git' -prune -o -name '*.pyc' -exec rm {} \\;" ) sh ( 'rm -rf test_root/log/auto_screenshots/*' ) sh ( 'rm -rf /tmp/mako_[cl]ms' )
clean fixture files used by tests and .