Permalink
Browse files

Minor addition to test

  • Loading branch information...
1 parent ca0276b commit cd94a833f216007c62a2064e767302c0ee9e7616 @labisso labisso committed Jan 25, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 azookeeper/test/test_client.py
@@ -39,8 +39,9 @@ def test_create_get_set(self):
data, stat = self.zk.get(nodepath)
self.assertEqual(data, "sandwich")
- self.zk.set(nodepath, "hats", stat["version"])
-
+ newstat = self.zk.set(nodepath, "hats", stat["version"])
+ self.assertTrue(newstat)
+ self.assertGreater(newstat['version'], stat['version'])
def get_zk_hosts_or_skip():
if ENV_AZK_TEST_HOSTS in os.environ:

0 comments on commit cd94a83

Please sign in to comment.