flows: fix glob pattern for doc flows
This commit is contained in:
parent
5c652c1f79
commit
e94abfc986
|
@ -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))
|
||||||
|
|
Reference in New Issue