diff --git a/pyproject.toml b/pyproject.toml index e8d0d6e4..7f37a6cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 ", diff --git a/tests/test_artifacts.py b/tests/test_artifacts.py index 1c0e9d00..f1eb3a93 100644 --- a/tests/test_artifacts.py +++ b/tests/test_artifacts.py @@ -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, ) @@ -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, ) @@ -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, )