diff options
Diffstat (limited to 'share/python/lib/daemon.py')
-rw-r--r-- | share/python/lib/daemon.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/share/python/lib/daemon.py b/share/python/lib/daemon.py index 0b47fe9..a62ca24 100644 --- a/share/python/lib/daemon.py +++ b/share/python/lib/daemon.py @@ -220,6 +220,11 @@ def daemon_start_fails_with(ctx, message=None): assert message.lower() in error.lower() +def daemon_start_succeeds(ctx): + daemon = ctx.declare("_daemon") + assert "_start_error" not in daemon + + def daemon_get_stdout(ctx, name): return _daemon_get_output(ctx, name, "stdout") |