Skip to content

Commit c6e1b00

Browse files
committed
Update tests for new methods
1 parent 1ad1ed2 commit c6e1b00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openprocurement_client/tests/test_registry_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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'])

0 commit comments

Comments
 (0)