def test_modify_request(self, request_builder): arguments.Path("name").modify_request(request_builder, "value") request_builder.url.set_variable.assert_called_with({"name": "value"})
def test_modify_request_definition(self, request_definition_builder): arguments.Path("name").modify_request_definition( request_definition_builder) request_definition_builder.uri.add_variable.assert_called_with("name")