From e94abfc986fc5da50ae58b108c810238fc0da701 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 27 Feb 2021 13:23:16 +0100 Subject: [PATCH] flows: fix glob pattern for doc flows --- authentik/flows/tests/test_transfer_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/flows/tests/test_transfer_docs.py b/authentik/flows/tests/test_transfer_docs.py index debd3a1d9..8fc4ecdb7 100644 --- a/authentik/flows/tests/test_transfer_docs.py +++ b/authentik/flows/tests/test_transfer_docs.py @@ -24,6 +24,6 @@ def pbflow_tester(file_name: str) -> Callable: return tester -for flow_file in glob("website/static/flows/*.pbflow"): +for flow_file in glob("website/static/flows/*.akflow"): method_name = Path(flow_file).stem.replace("-", "_").replace(".", "_") setattr(TestTransferDocs, f"test_flow_{method_name}", pbflow_tester(flow_file))