Commits

Andriy Kornatskyy  committed 1facde5

Double check on delete in cache test cases.

  • Participants
  • Parent commits c3f37d7

Comments (0)

Files changed (1)

File src/wheezy/caching/tests/test_cache.py

         assert not self.client.delete('d', namespace=self.namespace)
         self.setget('d', 1)
         assert self.client.delete('d', namespace=self.namespace)
+        assert not self.client.get('d', self.namespace)
 
     def test_delete_multi(self):
         mapping = {'d1': 1, 'd2': 2}
         assert self.client.delete_multi(keys, namespace=self.namespace)
         self.setget_multi(mapping)
         assert self.client.delete_multi(keys, namespace=self.namespace)
+        assert not self.client.get_multi(keys, '', self.namespace)
 
     def test_incr(self):
         assert 1 == self.client.incr(