We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6defa05 commit e89e7bcCopy full SHA for e89e7bc
tests/test_cli.py
@@ -1,8 +1,10 @@
1
from unittest.mock import patch
2
3
+import gunicorn.arbiter
4
from click.testing import CliRunner
5
6
import teufa.cli
7
+from teufa.server import Application
8
9
10
@patch("teufa.server.Application.run")
@@ -29,3 +31,8 @@ def test_cli_server_dev(MockApplication):
29
31
}
30
32
)
33
MockApplication.return_value.run.assert_called_once_with()
34
+
35
36
+def test_gunicorn_arbiter_with_application():
37
+ arbiter = gunicorn.arbiter.Arbiter(Application())
38
+ arbiter.stop()
0 commit comments