def setUpClass(cls): unittest.TestCase.setUpClass() cls.avail_locales = get_avail_locales() if not BlockDev.is_initialized(): BlockDev.init(cls.requested_plugins, None) else: BlockDev.reinit(cls.requested_plugins, True, None)
def setUpClass(cls): unittest.TestCase.setUpClass() cls.avail_locales = get_avail_locales()