mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
tests: don't let test_status_cmd test server state
This commit is contained in:
@@ -9,6 +9,11 @@ def test_status_cmd(chatmail_config, capsys, request):
|
|||||||
status_out = capsys.readouterr()
|
status_out = capsys.readouterr()
|
||||||
print(status_out.out)
|
print(status_out.out)
|
||||||
|
|
||||||
|
assert len(status_out.out.splitlines()) > 5
|
||||||
|
|
||||||
|
"""
|
||||||
|
don't test actual server state:
|
||||||
|
|
||||||
services = [
|
services = [
|
||||||
"acmetool-redirector",
|
"acmetool-redirector",
|
||||||
"chatmail-metadata",
|
"chatmail-metadata",
|
||||||
@@ -41,3 +46,4 @@ def test_status_cmd(chatmail_config, capsys, request):
|
|||||||
if not active:
|
if not active:
|
||||||
not_running.append(service)
|
not_running.append(service)
|
||||||
assert not_running == []
|
assert not_running == []
|
||||||
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user