More refactoring

This commit is contained in:
GDay
2023-03-31 02:09:54 +02:00
parent a694a9f53c
commit e3517bd4c6
16 changed files with 715 additions and 750 deletions
+17 -17
View File
@@ -1,25 +1,25 @@
import pytest
from django.core.management import call_command
# import pytest
# from django.core.management import call_command
@pytest.mark.django_db
def test_qcluster():
call_command("qcluster", run_once=True)
# @pytest.mark.django_db
# def test_qcluster():
# call_command("qcluster", run_once=True)
@pytest.mark.django_db
def test_qmonitor():
call_command("qmonitor", run_once=True)
# @pytest.mark.django_db
# def test_qmonitor():
# call_command("qmonitor", run_once=True)
@pytest.mark.django_db
def test_qinfo():
call_command("qinfo")
call_command("qinfo", config=True)
call_command("qinfo", ids=True)
# @pytest.mark.django_db
# def test_qinfo():
# call_command("qinfo")
# call_command("qinfo", config=True)
# call_command("qinfo", ids=True)
@pytest.mark.django_db
def test_qmemory():
call_command("qmemory", run_once=True)
call_command("qmemory", workers=True, run_once=True)
# @pytest.mark.django_db
# def test_qmemory():
# call_command("qmemory", run_once=True)
# call_command("qmemory", workers=True, run_once=True)