def test_peal_off_string(self): self.assertEqual(parse.peel_off_string('\x01RI\x03]\x04asdf'), ({ 'bg': 'I', 'string': ']', 'fg': 'R', 'colormarker': '\x01RI', 'bold': '' }, 'asdf'))
def test_peal_off_string(self): self.assertEqual( parse.peel_off_string("\x01RI\x03]\x04asdf"), ( { "bg": "I", "string": "]", "fg": "R", "colormarker": "\x01RI", "bold": "", }, "asdf", ), )
def test_peal_off_string(self): self.assertEquals(parse.peel_off_string('\x01RI\x03]\x04asdf'), ({'bg': 'I', 'string': ']', 'fg': 'R', 'colormarker': '\x01RI', 'bold': ''}, 'asdf'))