Skip to content

Commit

Permalink
Bump version: 2.4.0 → 2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
anancarv committed Jul 30, 2024
1 parent 4bffbfc commit 81e205f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "PyArtifactory"
version = "2.4.0"
version = "2.4.1"
description = "Typed interactions with the Jfrog Artifactory REST API"
authors = [
"Ananias CARVALHO <carvalhoananias@hotmail.com>",
Expand Down
6 changes: 3 additions & 3 deletions tests/test_artifacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ def test_set_property_fail_bad_value():
def test_update_property_success():
responses.add(
responses.PATCH,
f"{URL}/api/metadata/{ARTIFACT_PATH}?recursive=1",
f"{URL}/api/metadata/{ARTIFACT_PATH}?recursiveProperties=1",
match=[responses.matchers.json_params_matcher({"props": ARTIFACT_MULTIPLE_PROPERTIES.properties})],
status=200,
)
Expand All @@ -476,7 +476,7 @@ def test_update_property_success():
def test_update_property_fail_artifact_not_found():
responses.add(
responses.PATCH,
f"{URL}/api/metadata/{NX_ARTIFACT_PATH}?recursive=1",
f"{URL}/api/metadata/{NX_ARTIFACT_PATH}?recursiveProperties=1",
match=[responses.matchers.json_params_matcher({"props": ARTIFACT_ONE_PROPERTY.properties})],
status=400,
)
Expand All @@ -490,7 +490,7 @@ def test_update_property_fail_artifact_not_found():
def test_update_property_fail_bad_value():
responses.add(
responses.PATCH,
f"{URL}/api/metadata/{ARTIFACT_PATH}?recursive=1",
f"{URL}/api/metadata/{ARTIFACT_PATH}?recursiveProperties=1",
match=[responses.matchers.json_params_matcher({"props": {BAD_PROPERTY_NAME: [BAD_PROPERTY_VALUE]}})],
status=400,
)
Expand Down

0 comments on commit 81e205f

Please sign in to comment.