Skip to content

Commit f7bbfe6

Browse files
committed
Move rpc tests of functions to higher level
1 parent 569d47b commit f7bbfe6

File tree

2 files changed

+195
-86
lines changed

2 files changed

+195
-86
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# pylint:disable=unused-variable
2+
# pylint:disable=unused-argument
3+
# pylint:disable=redefined-outer-name
4+
5+
6+
import pytest
7+
from pytest_simcore.helpers.monkeypatch_envs import setenvs_from_dict
8+
from pytest_simcore.helpers.typing_env import EnvVarsDict
9+
10+
11+
@pytest.fixture
12+
def app_environment(
13+
app_environment: EnvVarsDict,
14+
monkeypatch: pytest.MonkeyPatch,
15+
):
16+
return setenvs_from_dict(
17+
monkeypatch,
18+
{
19+
**app_environment, # WARNING: AFTER env_devel_dict because HOST are set to 127.0.0.1 in here
20+
"WEBSERVER_DB_LISTENER": "0",
21+
"WEBSERVER_DEV_FEATURES_ENABLED": "1",
22+
"WEBSERVER_GARBAGE_COLLECTOR": "null",
23+
},
24+
)

0 commit comments

Comments
 (0)