Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added flushdb test

  • Loading branch information...
commit b0edafc2872e24881c8fd17e093cea1dbc6337fb 1 parent dab01f6
Adam NorthIsUp authored

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. +4 0 tests/nydus/db/backends/thoonk/tests.py
4 tests/nydus/db/backends/thoonk/tests.py
@@ -42,6 +42,10 @@ def setUp(self):
42 42 def tearDown(self):
43 43 pass
44 44
  45 + def test_flush_db(self):
  46 + pubsub = self.get_cluster('nydus.db.routers.redis.ConsistentHashingRouter')
  47 + pubsub.flushdb()
  48 +
45 49 def test_job_with_ConsistentHashingRouter(self):
46 50 pubsub = self.get_cluster('nydus.db.routers.redis.ConsistentHashingRouter')
47 51 job = pubsub.job("test1")

0 comments on commit b0edafc

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