Skip to content

Commit d531f06

Browse files
authored
Manually applying pull request changes because of rebase. (#92)
1 parent 8a6679e commit d531f06

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gremlinapi/schedules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def update_scenario_schedule(
225225
*args: tuple,
226226
**kwargs: dict,
227227
) -> dict:
228-
method: str = "POST"
228+
method: str = "PUT"
229229
guid: str = cls._error_if_not_param("guid", **kwargs)
230230
data: dict = cls._error_if_not_json_body(**kwargs)
231231
endpoint: str = cls._optional_team_endpoint(

tests/test_schedules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def test_get_scenario_schedule_with_decorator(self, mock_get) -> None:
9595
GremlinAPISchedules.get_scenario_schedule(**mock_guid), mock_data
9696
)
9797

98-
@patch("requests.post")
98+
@patch("requests.put")
9999
def test_update_scenario_schedule_with_decorator(self, mock_get) -> None:
100100
mock_get.return_value = requests.Response()
101101
mock_get.return_value.status_code = 200

0 commit comments

Comments
 (0)