Remove update_with_properties method

It’s more Pythonic, and better abstracted from the underlying API to
use keyword arguments instead.
This commit is contained in:
Chris Hill-Scott
2018-11-05 17:37:50 +00:00
parent b3a7210baf
commit 1c9e42f85d
3 changed files with 11 additions and 17 deletions

View File

@@ -12,7 +12,7 @@ def test_set_inbound_sms_sets_a_number_for_service(
mock_no_inbound_number_for_service,
mocker
):
mocker.patch('app.service_api_client.update_service_with_properties')
mocker.patch('app.service_api_client.update_service')
data = {
"inbound_number": "781d9c60-7a7e-46b7-9896-7b045b992fa5",
}