Merge pull request 'feat: test webfinger utility' (#14) from tests into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Reviewed-on: #14
This commit is contained in:
Aravinth Manivannan 2024-06-09 17:23:12 +05:30
commit 295c8ce685

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()