mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
Fix cli run commands
This commit is contained in:
parent
8618e1b8bf
commit
1ccdccd0bc
@ -16,7 +16,7 @@ def register(app):
|
|||||||
"""Daemon commands."""
|
"""Daemon commands."""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@daemon.command()
|
@daemon.command('run')
|
||||||
def run_daemon():
|
def run_daemon():
|
||||||
"""Run daemon"""
|
"""Run daemon"""
|
||||||
from app.daemon import Daemon
|
from app.daemon import Daemon
|
||||||
@ -28,7 +28,7 @@ def register(app):
|
|||||||
"""Test commands."""
|
"""Test commands."""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@test.command()
|
@test.command('run')
|
||||||
def run_test():
|
def run_test():
|
||||||
"""Run unit tests."""
|
"""Run unit tests."""
|
||||||
import unittest
|
import unittest
|
||||||
|
Loading…
Reference in New Issue
Block a user