def test_nextpass(self): self.assertEqual(part1.nextpass("abcdefgh"), "abcdffaa") self.assertEqual(part1.nextpass("ghijklmn"), "ghjaabcc")
import sys sys.path.append(".") from part1 import nextpass #print nextpass(nextpass("hepxcrrq")) print nextpass("hepxxyzz")