-
-
Notifications
You must be signed in to change notification settings - Fork 215
Expand file tree
/
Copy path.env.test.example
More file actions
21 lines (18 loc) · 1.09 KB
/
Copy path.env.test.example
File metadata and controls
21 lines (18 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copy to .env.test (git-ignored) and fill in real values to run the
# integration tests. Every value below is an obviously fake placeholder -
# none of it works as-is.
# An existing, already-authorized session file. The tests never sign in, so no
# api_id/api_hash is needed: a session that exists carries its own.
SESSION_PATH=/path/to/your/test_client.session
# The hosted relay the WEB proxy tests run against.
WEB_PROXY_TEST_HOSTNAME=relay.example.com
# A plain 16-byte secret, or a dd-prefixed 17-byte one, as hex.
WEB_PROXY_TEST_SECRET=000102030405060708090a0b0c0d0e0f
WEB_PROXY_TEST_DC_ID=2
# The classic MTProxies the mtproxy tests run against, as ordinary share links,
# separated by whitespace. Every test runs once per link, so listing a plain, a
# dd-prefixed and an ee-prefixed one covers all three flavours in a single run.
# Quoted because the runner sources this file, and an unquoted `&` would
# background the assignment and leave the variable unset with no error.
MTPROXY_TEST_LINKS='tg://proxy?server=11.22.33.44&port=443&secret=000102030405060708090a0b0c0d0e0f'
MTPROXY_TEST_DC_ID=2