Skip to content
Browse files

added flushdb test

  • Loading branch information...
1 parent dab01f6 commit b0edafc2872e24881c8fd17e093cea1dbc6337fb @NorthIsUp NorthIsUp committed Mar 26, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 tests/nydus/db/backends/thoonk/tests.py
View
4 tests/nydus/db/backends/thoonk/tests.py
@@ -42,6 +42,10 @@ def setUp(self):
def tearDown(self):
pass
+ def test_flush_db(self):
+ pubsub = self.get_cluster('nydus.db.routers.redis.ConsistentHashingRouter')
+ pubsub.flushdb()
+
def test_job_with_ConsistentHashingRouter(self):
pubsub = self.get_cluster('nydus.db.routers.redis.ConsistentHashingRouter')
job = pubsub.job("test1")

0 comments on commit b0edafc

Please sign in to comment.
Something went wrong with that request. Please try again.