(url, request_data: RequestData, *args, **kwargs)
| 681 | |
| 682 | async def test_unknown_kwargs(self, offline_bot, monkeypatch): |
| 683 | async def post(url, request_data: RequestData, *args, **kwargs): |
| 684 | data = request_data.json_parameters |
| 685 | if not all([data["unknown_kwarg_1"] == "7", data["unknown_kwarg_2"] == "5"]): |
| 686 | pytest.fail("got wrong parameters") |
| 687 | return True |
| 688 | |
| 689 | monkeypatch.setattr(offline_bot.request, "post", post) |
| 690 | await offline_bot.send_message( |
no test coverage detected