File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
openprocurement_client/tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ def test_patch_asset(self):
100100 setup_routing (self .app , routes = ["asset_patch" ])
101101 asset_id = self .asset .data .id
102102 patch_data = {'data' : {'description' : 'test_patch_asset' }}
103- patched_asset = self .client .patch_resource_item (asset_id ,
103+ patched_asset = self .client .patch_asset (asset_id ,
104104 patch_data )
105105 self .assertEqual (patched_asset .data .id , self .asset .data .id )
106106 self .assertEqual (patched_asset .data .description ,
@@ -140,7 +140,7 @@ def test_patch_lot(self):
140140 setup_routing (self .app , routes = ["lot_patch" ])
141141 lot_id = self .lot .data .id
142142 patch_data = {'data' : {'description' : 'test_patch_lot' }}
143- patched_lot = self .client .patch_resource_item (lot_id , patch_data )
143+ patched_lot = self .client .patch_lot (lot_id , patch_data )
144144 self .assertEqual (patched_lot .data .id , lot_id )
145145 self .assertEqual (patched_lot .data .description ,
146146 patch_data ['data' ]['description' ])
You can’t perform that action at this time.
0 commit comments