def verify_safe_response(self, view, check_for_vars=True,<EOL>check_for_POST_params=True):
request = self.rf.post('<STR_LIT>', self.breakfast_data)<EOL>response = view(request)<EOL>if check_for_vars:<EOL><INDENT>self.assertContains(response, '<STR_LIT>', status_code=<NUM_LIT>)<EOL>self.assertContains(response, '<STR_LIT>', status_code=<NUM_LIT>)<EOL>self.assertContains(response, '<STR_LIT>', status_code=<NUM_LIT>)<EOL>self.assertNotContains(response, '<STR_LIT>', status_code=<NUM_LIT>)<EOL><DEDENT>if check_for_POST_params:<EOL><INDENT>for k in self.breakfast_data:<EOL><INDENT>self.assertContains(response, k, status_code=<NUM_LIT>)<EOL><DEDENT>self.assertContains(response, '<STR_LIT>', status_code=<NUM_LIT>)<EOL>self.assertContains(response, '<STR_LIT>', status_code=<NUM_LIT>)<EOL>self.assertNotContains(response, '<STR_LIT>', status_code=<NUM_LIT>)<EOL>self.assertNotContains(response, '<STR_LIT>', status_code=<NUM_LIT>)<EOL><DEDENT>
Asserts that certain sensitive info are not displayed in the response.