def setup(self): #bypass configuration and do not start up UBS thread! BGSystem.configure = MagicMock(name='configure') BGSystem.update_block_state = MagicMock(name='update_block_state') self.bgqsystem = BGSystem()
def setup(self): #TestComponent.setup(self) self.bgqsystem = BGSystem()