summaryrefslogtreecommitdiff
path: root/src/etcd/tests/integration/test_simple.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/etcd/tests/integration/test_simple.py')
-rw-r--r--src/etcd/tests/integration/test_simple.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/etcd/tests/integration/test_simple.py b/src/etcd/tests/integration/test_simple.py
index b658301..45dea29 100644
--- a/src/etcd/tests/integration/test_simple.py
+++ b/src/etcd/tests/integration/test_simple.py
@@ -127,6 +127,7 @@ class TestSimple(EtcdIntegrationTest):
self.client.write('/dir', None, dir=True, ttl=30)
res = self.client.write('/dir', None, dir=True, ttl=31, prevExist=True)
self.assertEquals(res.ttl, 31)
+ res = self.client.get('/dir')
res.ttl = 120
new_res = self.client.update(res)
self.assertEquals(new_res.ttl, 120)