UT: Change flask_client() fixture from session- to function-scoped
This commit is contained in:
parent
3355455c9b
commit
6cfdcaaec7
|
@ -9,7 +9,7 @@ import monkey_island.cc.resources.island_mode
|
||||||
from monkey_island.cc.services.representations import output_json
|
from monkey_island.cc.services.representations import output_json
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(scope="session")
|
@pytest.fixture
|
||||||
def flask_client(monkeypatch_session):
|
def flask_client(monkeypatch_session):
|
||||||
monkeypatch_session.setattr(flask_jwt_extended, "verify_jwt_in_request", lambda: None)
|
monkeypatch_session.setattr(flask_jwt_extended, "verify_jwt_in_request", lambda: None)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue