def METHOD_NAME(self):
    "make a logger instance and create tables"
    logging.basicConfig(level=logging.DEBUG,
                format='%(asctime)s %(name)-12s %(levelname)-8s %(message)s',
                datefmt='%m-%d %H:%M',
                filename='%s.log' % __file__.replace('.py',''),
                filemode='w')
    self.logger = logging.getLogger('DBFactoryTest')