feat: test webfinger utility #14

Merged
realaravinth merged 1 commit from tests into master 2024-06-09 17:23:12 +05:30

View file

@ -0,0 +1,12 @@
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()