ftest-common-py/ftest_common/test_webfinger.py
Aravinth Manivannan f49994d7cc
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
feat: test webfinger utility
2024-06-09 17:22:20 +05:30

12 lines
330 B
Python

import pytest
from ftest_common.webfinger import get_webfinger
import os
def test_webfinger():
os.environ["FTEST_AUTH"] = "foo"
os.environ["FTEST_HOST"] = "http://localhost"
os.environ["FTEST_USER"] = "forgeflux@batsense.net"
os.environ["FTEST_TARGET_HOST"] = "https://gts.batsense.net"
get_webfinger()