ftest-common-py/ftest_common/test_webfinger.py

13 lines
330 B
Python
Raw Permalink Normal View History

2024-06-09 17:21:33 +05:30
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()