-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
- Loading branch information
1 parent
ec7e806
commit 7e88167
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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"], | ||
|