def setUp(self): super(DubstackApi, self).setUp() self.options = self.appconfig('default') app = self.loadapp('default') self.app = app self.dubstep_backend = utils.import_object( self.options['bass_driver'], options=self.options) self._load_fixtures()
def __init__(self, options): self.driver = utils.import_object(options['bass_driver'], options=options) self.options = options