def assert_command_id(self, request, target_id):<EOL>
<EOL>command_id = request.ams_header.command_id<EOL>command_id = struct.unpack('<STR_LIT>', command_id)[<NUM_LIT:0>]<EOL>self.assertEqual(command_id, target_id)<EOL>
Assert command_id and target_id.