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