Permalink
Browse files

Fix the tests.

  • Loading branch information...
playpauseandstop committed Mar 30, 2012
1 parent 7d89518 commit cd878c28c55b61f72d4f20e2bcbc0c191f3aab91
Showing with 2 additions and 0 deletions.
  1. +2 −0 testapp/tests.py
View
@@ -33,6 +33,8 @@ def setUp(self):
def tearDown(self):
redis.delete(app.config['COUNTER_KEY'])
+ app.config.pop('REDIS_URL', None)
+
app.config['COUNTER_KEY'] = self.old_COUNTER_KEY
app.config['REDIS_HOST'] = self.old_REDIS_HOST
app.config['REDIS_PORT'] = self.old_REDIS_PORT

0 comments on commit cd878c2

Please sign in to comment.