flows: fix glob pattern for doc flows
This commit is contained in:
parent
a4d5815e1b
commit
17ab895652
|
@ -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