Commit 9a775995 by Sébastien Eustace

Fix tests

parent 8bd4c070
......@@ -54,7 +54,7 @@ python-versions = "*"
version = "1.2"
[metadata]
content-hash = "78ac9903d6fcbe1b1322857731bff3cac904ef8fd5e72c6c768761f28f66b8ea"
content-hash = "115cf985d932e9bf5f540555bbdd75decbb62cac81e399375fc19f6277f8c1d8"
platform = "*"
python-versions = "*"
......
......@@ -132,7 +132,7 @@ def test_check():
def test_check_fails():
complete = TomlFile(fixtures_dir / "complete.toml")
content = complete.read(raw=True)["tool"]["poetry"]
content = complete.read()["tool"]["poetry"]
content["this key is not in the schema"] = ""
with pytest.raises(InvalidProjectFile):
Poetry.check(content)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment