Skip to content

Commit

Permalink
test: 修复 Not enough arguments (missing: "name")
Browse files Browse the repository at this point in the history
  • Loading branch information
Ljzd-PRO committed May 22, 2024
1 parent 73af031 commit e9d40e8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/plugin_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,10 @@ async def create_poetry_project(self) -> None:
if not self.path.exists():
self.path.mkdir(parents=True)
proc = await create_subprocess_shell(
f"""poetry init -n && sed -i "s/\\^/~/g" pyproject.toml && poetry env info --ansi && poetry add {self.whl_path}""",
"poetry init -n --name plugin-test"
'&& sed -i "s/\\^/~/g" pyproject.toml'
"&& poetry env info --ansi"
f"&& poetry add {self.whl_path}",
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
cwd=self.path,
Expand Down

0 comments on commit e9d40e8

Please sign in to comment.