Merge pull request 'feat: test webfinger utility' (#14) from tests into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #14
This commit is contained in:
commit
295c8ce685
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