Skip to content

Commit a146a15

Browse files
committed
Add poetry export to integration pyproject.toml
1 parent 53df359 commit a146a15

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/integration/util/dependencies/audit_integration_test.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ def create_poetry_project(tmp_path, sample_vulnerability):
2020
],
2121
cwd=poetry_root_dir,
2222
)
23+
24+
poetry_export = """[tool.poetry.requires - plugins]
25+
poetry - plugin - export = ">=1.8"
26+
"""
27+
with (poetry_root_dir / "pyproject.toml").open("a") as f:
28+
f.write(poetry_export)
29+
2330
return poetry_root_dir
2431

2532

0 commit comments

Comments
 (0)