11# -------------------------------------------------------------------------------
2- # Copyright (c) 2019-2022 Siemens
2+ # Copyright (c) 2019-2023 Siemens
33# All Rights Reserved.
44# Author: thomas.graf@siemens.com
55#
@@ -515,7 +515,7 @@ def test_create_new_project(self):
515515 }
516516 },
517517 match = [
518- responses .json_params_matcher ({
518+ responses .matchers . json_params_matcher ({
519519 "name" : "NewProduct" , "version" : "42" ,
520520 "description" : "Example Product" ,
521521 "projectType" : "PRODUCT" , "visibility" : "EVERYONE" ,
@@ -541,7 +541,7 @@ def test_create_new_project_already_exists(self):
541541 },
542542 status = 409 ,
543543 match = [
544- responses .json_params_matcher ({
544+ responses .matchers . json_params_matcher ({
545545 "name" : "NewProduct" , "version" : "42" ,
546546 "description" : "Example Product" ,
547547 "projectType" : "PRODUCT" , "visibility" : "EVERYONE" ,
@@ -600,7 +600,7 @@ def test_update_project_sub_projects_no_add(self):
600600 body = "4" ,
601601 status = 202 ,
602602 match = [
603- responses .json_params_matcher ({
603+ responses .matchers . json_params_matcher ({
604604 "name" : "NewComponent" ,
605605 "version" : "9.99" ,
606606 "projectType" : "PRODUCT" ,
@@ -647,7 +647,7 @@ def test_update_project_sub_projects_with_add(self):
647647 body = "4" ,
648648 status = 202 ,
649649 match = [
650- responses .json_params_matcher ({
650+ responses .matchers . json_params_matcher ({
651651 "name" : "NewComponent" ,
652652 "version" : "9.99" ,
653653 "projectType" : "PRODUCT" ,
@@ -826,7 +826,7 @@ def test_update_project_external_id_add_fresh_id(self):
826826 url = self .MYURL + "resource/api/projects/123" ,
827827 body = "4" ,
828828 match = [
829- responses .json_params_matcher ({"externalIds" : {"already-existing" : "must-be-kept" , "package-url" : "pkg:deb/debian/debootstrap?type=source" }}) # noqa
829+ responses .matchers . json_params_matcher ({"externalIds" : {"already-existing" : "must-be-kept" , "package-url" : "pkg:deb/debian/debootstrap?type=source" }}) # noqa
830830 ]
831831 )
832832
@@ -906,7 +906,7 @@ def test_duplicate_project(self):
906906 },
907907 },
908908 match = [
909- responses .json_params_matcher ({
909+ responses .matchers . json_params_matcher ({
910910 "version" : "42" ,
911911 'clearingState' : 'OPEN' ,
912912 })
@@ -1018,7 +1018,7 @@ def test_update_project_release_relationship(self):
10181018 body = "4" ,
10191019 status = 202 ,
10201020 match = [
1021- responses .json_params_matcher ({
1021+ responses .matchers . json_params_matcher ({
10221022 "releaseRelation" : "STANDALONE" ,
10231023 "mainlineState" : "SPECIFIC" ,
10241024 "comment" : "mycomment"
0 commit comments