I have this code that I want to test:
log = logging.getLogger(__name__) class A(object): def __init__(self): log.debug(\'Init\')