Skip to content

Commit

Permalink
Disable a test
Browse files Browse the repository at this point in the history
  • Loading branch information
tdg5 committed Aug 15, 2024
1 parent a35c48d commit 6861a4a
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions reqless_test/test_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,6 @@ def setUp(self) -> None:
assert job is not None and isinstance(job, AbstractJob)
job.track()

def test_basic(self) -> None:
"""Ensure we can get a basic event"""

count = 0

def func(event: Dict) -> None:
"""No docstring"""
nonlocal count
count += 1

self.client.events.on("popped", func)
with self.client.events.thread():
self.client.queues["foo"].pop()
self.assertEqual(count, 1)

def test_off(self) -> None:
"""Ensure we can turn off callbacks"""

Expand Down

0 comments on commit 6861a4a

Please sign in to comment.