From f49994d7ccaf08c5cb195dff94a65eb53a884936 Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Sun, 9 Jun 2024 17:21:33 +0530 Subject: [PATCH] feat: test webfinger utility --- ftest_common/test_webfinger.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ftest_common/test_webfinger.py diff --git a/ftest_common/test_webfinger.py b/ftest_common/test_webfinger.py new file mode 100644 index 0000000..86e0044 --- /dev/null +++ b/ftest_common/test_webfinger.py @@ -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()