Skip to content

Commit

Permalink
修改测试脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
MerCuJerry committed Feb 19, 2024
1 parent 6503f84 commit 54d5a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

def get_project_name() -> str:
with open("pyproject.toml", "r") as f:
return load(f.read()).get("project", {}).get("name", "noneplugin")
return load(f.read()).get("project", {}).get("name", "noneplugin").replace("-","_")

def run_plugin_test(name: str) -> None:
init(driver="~none")
Expand Down

0 comments on commit 54d5a4d

Please sign in to comment.