def _check_warnings(self, warnings):
self.assertIsNotNone(warnings)<EOL>self.assertIsInstance(warnings, list)<EOL>self.assertIs(len(warnings), <NUM_LIT:1>)<EOL>self.assertIsInstance(warnings[<NUM_LIT:0>], dict)<EOL>self.assertIsNotNone(warnings[<NUM_LIT:0>].get('<STR_LIT>'))<EOL>self.assertEquals(warnings[<NUM_LIT:0>]['<STR_LIT>'], self.TEST_WARNING_NAME)<EOL>self.assertIsNotNone(warnings[<NUM_LIT:0>].get('<STR_LIT>'))<EOL>self.assertEquals(warnings[<NUM_LIT:0>]['<STR_LIT>'], self.TEST_WARNING_MSG)<EOL>
Check that the given warnings are as expected