def test_set_color(self): """> Create color escape sequence.""" result = sequences.set_color(11, COLORS["colors"]["color0"]) if platform.uname()[0] == "Darwin": self.assertEqual(result, "\033]Pb1F211E\033\\") else: self.assertEqual(result, "\033]4;11;#1F211E\007")
def test_set_color(self): """> Create color escape sequence.""" result = sequences.set_color(11, COLORS["colors"]["color0"]) self.assertEqual(result, "\033]4;11;#3A5130\007")