Skip to content

Commit f738124

Browse files
committed
adds WEBSERVER_RPC_NAMESPACE
1 parent 0fe1a6e commit f738124

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

services/web/server/tests/unit/isolated/test_studies_dispatcher_projects_permalinks.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,28 +37,29 @@ def app_environment(
3737
monkeypatch,
3838
{
3939
**env_devel_dict,
40+
"STUDIES_ACCESS_ANONYMOUS_ALLOWED": "1",
4041
"WEBSERVER_ACTIVITY": "null",
4142
"WEBSERVER_CATALOG": "null",
42-
"WEBSERVER_NOTIFICATIONS": "0",
4343
"WEBSERVER_DIAGNOSTICS": "null",
4444
"WEBSERVER_DIRECTOR_V2": "null",
45-
"WEBSERVER_EXPORTER": "null",
4645
"WEBSERVER_EMAIL": "null",
46+
"WEBSERVER_EXPORTER": "null",
4747
"WEBSERVER_GARBAGE_COLLECTOR": "null",
4848
"WEBSERVER_GROUPS": "1",
4949
"WEBSERVER_LOGIN": "null",
50+
"WEBSERVER_NOTIFICATIONS": "0",
5051
"WEBSERVER_PAYMENTS": "null",
5152
"WEBSERVER_PRODUCTS": "1",
5253
"WEBSERVER_PUBLICATIONS": "0",
5354
"WEBSERVER_RABBITMQ": "null",
5455
"WEBSERVER_REMOTE_DEBUG": "0",
56+
"WEBSERVER_RPC_NAMESPACE": "null",
5557
"WEBSERVER_SCICRUNCH": "null",
56-
"WEBSERVER_STORAGE": "null",
5758
"WEBSERVER_SOCKETIO": "0",
59+
"WEBSERVER_STORAGE": "null",
5860
"WEBSERVER_TAGS": "1",
5961
"WEBSERVER_TRACING": "null",
6062
"WEBSERVER_WALLETS": "0",
61-
"STUDIES_ACCESS_ANONYMOUS_ALLOWED": "1",
6263
},
6364
)
6465
print(env_vars)

services/web/server/tests/unit/with_dbs/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ def app_environment(app_environment: EnvVarsDict, monkeypatch: pytest.MonkeyPatc
178178
{
179179
# this emulates hostname: "wb-{{.Node.Hostname}}-{{.Task.Slot}}" in docker-compose that
180180
# affects PostgresSettings.POSTGRES_CLIENT_NAME
181-
"HOSTNAME": "wb-test_host.0"
181+
"HOSTNAME": "wb-test_host.0",
182+
"WEBSERVER_RPC_NAMESPACE": "null",
182183
},
183184
)
184185
)

0 commit comments

Comments
 (0)