mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-22 04:58:11 +08:00
12 lines
219 B
Python
12 lines
219 B
Python
import pytest
|
|
from django.core.management import call_command
|
|
|
|
|
|
@pytest.mark.django_db
|
|
def test_qcluster():
|
|
call_command('qcluster', run_once=True)
|
|
|
|
|
|
def test_qmonitor():
|
|
call_command('qmonitor', run_once=True)
|