mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 10:34:17 +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
|
||||
|
||||
@daemon.command()
|
||||
def run():
|
||||
def run_daemon():
|
||||
"""Run daemon"""
|
||||
from app.daemon import Daemon
|
||||
daemon = Daemon()
|
||||
@ -29,7 +29,7 @@ def register(app):
|
||||
pass
|
||||
|
||||
@test.command()
|
||||
def run():
|
||||
def run_test():
|
||||
"""Run unit tests."""
|
||||
import unittest
|
||||
tests = unittest.TestLoader().discover('tests')
|
||||
|
Loading…
Reference in New Issue
Block a user