Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Minor addition to test

  • Loading branch information...
commit cd94a833f216007c62a2064e767302c0ee9e7616 1 parent ca0276b
David LaBissoniere labisso authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 azookeeper/test/test_client.py
5 azookeeper/test/test_client.py
View
@@ -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:
Please sign in to comment.
Something went wrong with that request. Please try again.