diff options
Diffstat (limited to 'src/etcd/tests/integration/test_lock.py')
-rw-r--r-- | src/etcd/tests/integration/test_lock.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etcd/tests/integration/test_lock.py b/src/etcd/tests/integration/test_lock.py index ac2dd3b..a5d8744 100644 --- a/src/etcd/tests/integration/test_lock.py +++ b/src/etcd/tests/integration/test_lock.py @@ -22,7 +22,7 @@ class TestLocks(test_simple.EtcdIntegrationTest): ttl = 'invalid' expected_index = 'invalid' lock = self.client.get_lock(key, ttl=ttl) - self.assertRaises(etcd.EtcdException, lock.acquire) + self.assertRaises(ValueError, lock.acquire) def test_acquire_lock_with_context_manager(self): key = '/testkey' |