flows: fix glob pattern for doc flows

This commit is contained in:
Jens Langhammer 2021-02-27 13:23:16 +01:00
parent 5c652c1f79
commit e94abfc986
1 changed files with 1 additions and 1 deletions

View File

@ -24,6 +24,6 @@ def pbflow_tester(file_name: str) -> Callable:
return tester 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(".", "_") method_name = Path(flow_file).stem.replace("-", "_").replace(".", "_")
setattr(TestTransferDocs, f"test_flow_{method_name}", pbflow_tester(flow_file)) setattr(TestTransferDocs, f"test_flow_{method_name}", pbflow_tester(flow_file))