def setUp(self): super(ActivationKeyScreenTests, self).setUp() stub_reg = StubReg() self.screen = ActivationKeyScreen(reg_info=stub_reg.reg_info, async_backend=stub_reg. async, facts=stub_reg.facts, parent_window=stub_reg.parent_window)
def setUp(self): super(ActivationKeyScreenTests, self).setUp() self.backend = StubBackend() self.parent = Mock() self.screen = ActivationKeyScreen(self.backend, self.parent)