def setUpClass(cls): cls.dec_obs = DecimalViewer() cls.hex_obs = HexViewer() cls.sub = Data('Data') #inherited behavior already tested with TestSubject cls.sub.attach(cls.dec_obs) cls.sub.attach(cls.hex_obs)
def setUpClass(cls): cls.s = Subject() cls.dec_obs = DecimalViewer() cls.hex_obs = HexViewer()