We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b34758 commit 87a8709Copy full SHA for 87a8709
pytest-pyramid-server/tests/integration/test_pyramid_server.py
@@ -1,6 +1,6 @@
1
import os
2
3
-from pytest_pyramid_server import InlinePyramidTestServer
+from pytest_pyramid_server import InlinePyramidTestServer, PyramidTestServer
4
5
CONFIG_DIR = os.path.dirname(__file__) + '/config'
6
@@ -11,3 +11,11 @@ def test_InlinePyramidTestServer():
11
assert ipts.check_server_up()
12
ipts.kill()
13
assert not ipts.check_server_up()
14
+
15
16
+def test_PyramidTestServer():
17
+ pts = PyramidTestServer(config_dir=CONFIG_DIR)
18
+ pts.start()
19
+ assert pts.check_server_up()
20
+ pts.kill()
21
+ assert not pts.check_server_up()
0 commit comments