def test_load_rom(self): global rom rom = None load_rom() self.failIf(rom == None) rom = RomStr(None) load_rom() self.failIf(rom == RomStr(None))
def test_not_equal(self): "check if RomStr('a') != RomStr('b')" self.assertNotEqual(RomStr('a'), RomStr('b'))
def setUp(self): if self.sample == None: self.__class__.sample = RomStr(self.sample_text)
def test_load_rom(self): rom = load_rom() self.assertNotEqual(rom, None) rom = load_rom() self.assertNotEqual(rom, RomStr(None))