We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e00d184 commit eeff44cCopy full SHA for eeff44c
python_client/tests/test_server_client.py
@@ -82,11 +82,11 @@ def test_block_on_unknown_semaphore():
82
with throttle_client(b"[semaphores]\nA=1") as client:
83
# Only take first, so second one blocks
84
_ = client.acquire("A")
85
- l = client.acquire("A")
+ lock_a = client.acquire("A")
86
# Restart Server without "A"
87
with throttle_client(b"[semaphores]") as client:
88
with pytest.raises(Exception, match="Unknown semaphore"):
89
- client.block_until_acquired(l, block_for=timedelta(seconds=1))
+ client.block_until_acquired(lock_a, block_for=timedelta(seconds=1))
90
91
92
def test_lease_recovery_after_server_reboot():
0 commit comments