fix: rm FTEST_USER. It is irrelevant for this test
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Aravinth Manivannan 2023-10-01 13:56:24 +05:30
parent 97b1c04036
commit 8a67c20fe2
Signed by: realaravinth
GPG key ID: F8F50389936984FF
3 changed files with 1 additions and 4 deletions

View file

@ -1,4 +1,3 @@
export FTEST_AUTH="foobar"
export FTEST_HOST="http://ftest.example.org"
export FTEST_TARGET_HOST="http://localhost:3000"
export FTEST_USER="john@example.org"

View file

@ -36,7 +36,7 @@ source .env
docker run \
-e FTEST_AUTH=$FTEST_AUTH \
-e FTEST_TARGET_HOST=$FTEST_TARGET_HOST \
-e FTEST_HOST=FTEST_HOST forgeflux/nodeinfo-test
-e FTEST_HOST=$FTEST_HOST forgeflux/nodeinfo-test
```
## Demo

2
run.py
View file

@ -40,8 +40,6 @@ logger = configure_logger()
FTEST_AUTH = get_env("FTEST_AUTH")
FTEST_HOST = get_env("FTEST_HOST")
TARGET_HOST = get_env("FTEST_TARGET_HOST")
TEST_USER = get_env("FTEST_USER") # actor ex: john@example.org
print(f"TEST USER: {TEST_USER}")
TEST_HOST = urlparse(TARGET_HOST).netloc