Skip to content

Commit

Permalink
updates tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed Nov 5, 2024
1 parent 9e34583 commit de55c35
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions services/web/server/tests/unit/with_dbs/03/test_trash.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,23 @@
from models_library.rest_pagination import Page
from pytest_mock import MockerFixture
from pytest_simcore.helpers.assert_checks import assert_status
from pytest_simcore.helpers.monkeypatch_envs import setenvs_from_dict
from pytest_simcore.helpers.typing_env import EnvVarsDict
from pytest_simcore.helpers.webserver_login import UserInfoDict
from servicelib.aiohttp import status
from simcore_service_webserver.db.models import UserRole
from simcore_service_webserver.projects.models import ProjectDict


@pytest.fixture
def app_environment(
app_environment: EnvVarsDict, monkeypatch: pytest.MonkeyPatch
) -> EnvVarsDict:
return app_environment | setenvs_from_dict(
monkeypatch, {"WEBSERVER_DEV_FEATURES_ENABLED": "1"}
)


@pytest.fixture
def user_role() -> UserRole:
return UserRole.USER
Expand Down

0 comments on commit de55c35

Please sign in to comment.