feat: test webfinger utility
This commit is contained in:
parent
a577bbb025
commit
f49994d7cc
1 changed files with 12 additions and 0 deletions
12
ftest_common/test_webfinger.py
Normal file
12
ftest_common/test_webfinger.py
Normal 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()
|
Loading…
Reference in a new issue