Commit c28ae14d by Sébastien Eustace Committed by Sébastien Eustace

Fix tests

parent 3a0e0b39
...@@ -54,7 +54,7 @@ python-versions = "*" ...@@ -54,7 +54,7 @@ python-versions = "*"
version = "1.2" version = "1.2"
[metadata] [metadata]
content-hash = "78ac9903d6fcbe1b1322857731bff3cac904ef8fd5e72c6c768761f28f66b8ea" content-hash = "115cf985d932e9bf5f540555bbdd75decbb62cac81e399375fc19f6277f8c1d8"
platform = "*" platform = "*"
python-versions = "*" python-versions = "*"
......
...@@ -132,7 +132,7 @@ def test_check(): ...@@ -132,7 +132,7 @@ def test_check():
def test_check_fails(): def test_check_fails():
complete = TomlFile(fixtures_dir / "complete.toml") 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"] = "" content["this key is not in the schema"] = ""
with pytest.raises(InvalidProjectFile): with pytest.raises(InvalidProjectFile):
Poetry.check(content) 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