UT: Change flask_client() fixture from session- to function-scoped

This commit is contained in:
Mike Salvatore 2022-04-25 10:23:37 -04:00
parent 3355455c9b
commit 6cfdcaaec7
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ import monkey_island.cc.resources.island_mode
from monkey_island.cc.services.representations import output_json
@pytest.fixture(scope="session")
@pytest.fixture
def flask_client(monkeypatch_session):
monkeypatch_session.setattr(flask_jwt_extended, "verify_jwt_in_request", lambda: None)