diff --git a/tests/json/test_poetry_schema.py b/tests/json/test_poetry_schema.py index ef43af262..5272ebb8f 100644 --- a/tests/json/test_poetry_schema.py +++ b/tests/json/test_poetry_schema.py @@ -13,6 +13,7 @@ def base_object() -> dict[str, Any]: "name": "myapp", "version": "1.0.0", "description": "Some description.", + "authors": ["Some Author "], "dependencies": {"python": "^3.6"}, "dev-dependencies": {}, } @@ -24,6 +25,7 @@ def multi_url_object() -> dict[str, Any]: "name": "myapp", "version": "1.0.0", "description": "Some description.", + "authors": ["Some Author "], "dependencies": { "python": [ { diff --git a/tests/test_factory.py b/tests/test_factory.py index f646f3ae5..51bf3e652 100644 --- a/tests/test_factory.py +++ b/tests/test_factory.py @@ -203,6 +203,7 @@ def test_validate_without_strict_fails_only_non_strict() -> None: "'name' is a required property", "'version' is a required property", "'description' is a required property", + "'authors' is a required property", ], "warnings": [], } @@ -220,6 +221,7 @@ def test_validate_strict_fails_strict_and_non_strict() -> None: "'name' is a required property", "'version' is a required property", "'description' is a required property", + "'authors' is a required property", 'Script "a_script_with_unknown_extra" requires extra "foo" which is not' " defined.", "Declared README files must be of same type: found text/markdown,"