This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2018-07-14 14:41:22 +00:00
|
|
|
from ereuse_devicehub.devicehub import Devicehub
|
|
|
|
|
|
|
|
|
|
|
|
def test_dummy(_app: Devicehub):
|
|
|
|
"""Tests the dummy cli command."""
|
|
|
|
runner = _app.test_cli_runner()
|
2019-02-11 20:34:45 +00:00
|
|
|
runner.invoke('dummy', '--yes')
|
2018-10-05 12:35:51 +00:00
|
|
|
with _app.app_context():
|
|
|
|
_app.db.drop_all()
|