Skip to content

Commit 92834bf

Browse files
yngve-skeivindjahren
authored andcommitted
Use @pytest.mark.integration_test on tests that run server
1 parent 1bb03ba commit 92834bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/everest/test_everest_client.py

+2
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ def ping_server() -> bool:
6969
server_thread.join()
7070

7171

72+
@pytest.mark.integration_test
7273
def test_that_stop_invokes_correct_endpoint(
7374
caplog, client_server_mock: tuple[FastAPI, threading.Thread, EverestClient]
7475
):
@@ -88,6 +89,7 @@ def stop():
8889
server_thread.should_exit = True
8990

9091

92+
@pytest.mark.integration_test
9193
def test_that_stop_errors_on_non_ok_httpcode(
9294
caplog, client_server_mock: tuple[FastAPI, threading.Thread, EverestClient]
9395
):

0 commit comments

Comments
 (0)