Merge pull request #17 from Koed00/dev

Adds management commands to the tests
This commit is contained in:
Ilan Steemers
2015-07-16 18:22:10 +02:00
4 changed files with 37 additions and 6 deletions
+11
View File
@@ -0,0 +1,11 @@
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)