Test: Fixed test that still assumed Cygwin & FreeBSD has 16-color default themes

This commit is contained in:
Paul Beckingham 2016-02-02 01:39:36 -05:00
parent f6a7a8720e
commit a8ed0e7d55

View file

@ -68,11 +68,6 @@ class TestColorCommand(TestCase):
def test_colors_legend(self):
""" Verify 'task colors legend' shows theme colors"""
code, out, err = self.t("colors rc._forcecolor:on legend")
if 'CYGWIN' in platform.system() or 'FreeBSD' in platform.system():
# 16-color
self.assertRegexpMatches(out, "color.debug\s+.\[0m\s.\[34mblue\s+.\[0m")
else:
# 256-color
self.assertRegexpMatches(out, "color.debug\s+.\[0m\s.\[38;5;4mcolor4\s+.\[0m")
def test_colors_legend_override(self):