def _assert_get_returns_404_with_mock(self, url, get_params):
with mock.patch('<STR_LIT>') as mock_render:<EOL><INDENT>mock_render.return_value = HttpResponse()<EOL>self.client.get(url, get_params)<EOL>assert mock_render.call_args_list[<NUM_LIT:0>][<NUM_LIT:1>]['<STR_LIT:status>'] == <NUM_LIT><EOL><DEDENT>
Mock the render method, run a GET, and assert it returns 404.