Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 31, 2023
1 parent ec7e806 commit 7e88167
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/json/test_poetry_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,15 @@ def test_path_dependencies(base_object: dict[str, Any]) -> None:
def test_multi_url_dependencies(multi_url_object: dict[str, Any]) -> None:
assert len(validate_object(multi_url_object, "poetry-schema")) == 0


def test_git_dependencies(base_object: dict[str, Any]) -> None:
base_object["dependencies"].update({"git-dependency": {"git": "[email protected]:example/example-repository.git"}})
base_object["dependencies"].update(
{"git-dependency": {"git": "[email protected]:example/example-repository.git"}}
)

assert len(validate_object(base_object, "poetry-schema")) == 0


@pytest.mark.parametrize(
"bad_description",
["Some multi-\nline string", "Some multiline string\n", "\nSome multi-line string"],
Expand Down

0 comments on commit 7e88167

Please sign in to comment.