Skip to content

Commit 55a4c3a

Browse files
committed
Skip coverage for live server
Unfortunately those tests are skipped on Windows, which skews code coverage stats.
1 parent e0e3c2c commit 55a4c3a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/pytest_flask/fixtures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def test_login(self):
4040

4141

4242
@pytest.fixture(scope=_determine_scope)
43-
def live_server(request, app, pytestconfig):
43+
def live_server(request, app, pytestconfig): # pragma: no cover
4444
"""Run application in a separate process.
4545
4646
When the ``live_server`` fixture is applied, the ``url_for`` function

src/pytest_flask/live_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
multiprocessing = multiprocessing.get_context("fork")
1515

1616

17-
class LiveServer:
17+
class LiveServer: # pragma: no cover
1818
"""The helper class used to manage a live server. Handles creation and
1919
stopping application in a separate process.
2020

0 commit comments

Comments
 (0)