mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-21 03:58:11 +08:00
Clean up redis after test
This commit is contained in:
@@ -85,3 +85,4 @@ def test_scheduler(r):
|
||||
scheduler(list_key=list_key)
|
||||
# ONCE schedule should be deleted
|
||||
assert Schedule.objects.filter(pk=once_schedule.pk).exists() is False
|
||||
r.delete(list_key)
|
||||
|
||||
Reference in New Issue
Block a user