Skip to content

Commit 9ebe366

Browse files
committed
Get pod endpoint from env var
1 parent a3415e2 commit 9ebe366

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/test_solid_api.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@ def gen_random_str() -> str:
1414
return uuid.uuid4().hex
1515

1616

17-
POD_ENDPOINT = 'https://dahanhsi.solidcommunity.net/'
18-
# POD_ENDPOINT = 'https://pod.inrupt.com/petertc/'
19-
17+
POD_ENDPOINT = os.getenv('POD_ENDPOINT')
2018
IDP = os.getenv('IDP')
2119
USERNAME = os.getenv('USERNAME')
2220
PASSWORD = os.getenv('PASSWORD')
23-
PRIVATE_RES = 'https://dahanhsi.solidcommunity.net/private/test.md.md'
21+
PRIVATE_RES = f'{POD_ENDPOINT}/private/test.md.md'
2422

2523

2624
def test_private_access():

0 commit comments

Comments
 (0)