Skip to content

Commit

Permalink
feat(test): test CounterLock
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler committed Nov 22, 2024
1 parent eef418d commit cb00744
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_counter.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import pytest
from a_sync.primitives import CounterLock

@pytest.mark.asyncio_cooperative
async def test_counter_lock():
assert await CounterLock().wait_for(0)

0 comments on commit cb00744

Please sign in to comment.