Skip to content

Commit

Permalink
Fix existing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Aug 3, 2022
1 parent 579ead1 commit 9065a21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/json/test_poetry_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def base_object() -> dict[str, Any]:
"name": "myapp",
"version": "1.0.0",
"description": "Some description.",
"authors": ["Some Author <[email protected]>"],
"dependencies": {"python": "^3.6"},
"dev-dependencies": {},
}
Expand All @@ -24,6 +25,7 @@ def multi_url_object() -> dict[str, Any]:
"name": "myapp",
"version": "1.0.0",
"description": "Some description.",
"authors": ["Some Author <[email protected]>"],
"dependencies": {
"python": [
{
Expand Down
2 changes: 2 additions & 0 deletions tests/test_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": [],
}
Expand All @@ -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,"
Expand Down

0 comments on commit 9065a21

Please sign in to comment.