Rename cli functions to not interfere

This commit is contained in:
Patrick Jentsch 2021-09-22 13:58:46 +02:00
parent 17cbfd71b4
commit ee0efcf17f

View File

@ -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')