mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Rename cli functions to not interfere
This commit is contained in:
parent
17cbfd71b4
commit
ee0efcf17f
@ -17,7 +17,7 @@ def register(app):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
@daemon.command()
|
@daemon.command()
|
||||||
def run():
|
def run_daemon():
|
||||||
"""Run daemon"""
|
"""Run daemon"""
|
||||||
from app.daemon import Daemon
|
from app.daemon import Daemon
|
||||||
daemon = Daemon()
|
daemon = Daemon()
|
||||||
@ -29,7 +29,7 @@ def register(app):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
@test.command()
|
@test.command()
|
||||||
def run():
|
def run_test():
|
||||||
"""Run unit tests."""
|
"""Run unit tests."""
|
||||||
import unittest
|
import unittest
|
||||||
tests = unittest.TestLoader().discover('tests')
|
tests = unittest.TestLoader().discover('tests')
|
||||||
|
Loading…
Reference in New Issue
Block a user