Skip to content

Commit

Permalink
Remove tear-down function
Browse files Browse the repository at this point in the history
Not really necessary and might be harmful on an installed app if run
after each deployment (would nuke all caches).
  • Loading branch information
baronvonvaderham committed Sep 15, 2015
1 parent 869ee21 commit 5cd3ebb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions file_cache_tag/tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ def setUp(self):
self.staff_client = Client()

def tearDown(self):
rmtree(os.environ.get("FILECACHE_DIRECTORY", os.path.join(os.path.dirname(__file__),
'..', '..', '/CACHE/filecache/')))
pass

# Test that the demo_app generic view works
Expand Down

0 comments on commit 5cd3ebb

Please sign in to comment.