Skip to content

Commit

Permalink
Fix ut to use new colour palette
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbrittain committed Jun 22, 2024
1 parent 55b927a commit c905be1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -3287,7 +3287,7 @@ def test_inline_colours(self):
form.update(0)
self.assertEqual(canvas.get_from(0, 0), (ord("A"), 7, 1, 6))
self.assertEqual(canvas.get_from(1, 0), (ord("B"), 1, 0, 6))
self.assertEqual(canvas.get_from(0, 3), (ord("P"), 3, 1, 4))
self.assertEqual(canvas.get_from(0, 3), (ord("P"), 3, 2, 4))
self.assertEqual(canvas.get_from(0, 4), (ord("Q"), 9, 2, 4))

# Check that using ColouredText preserves colour data
Expand All @@ -3306,8 +3306,8 @@ def test_inline_colours(self):
# Check that the Ansi terminal colour parsing worked.
self.assertEqual(canvas.get_from(0, 5), (ord("A"), 7, 1, 4))
self.assertEqual(canvas.get_from(3, 5), (ord("B"), 1, 1, 4))
self.assertEqual(canvas.get_from(0, 6), (ord("1"), 3, 1, 4))
self.assertEqual(canvas.get_from(3, 6), (ord("2"), 2, 1, 4))
self.assertEqual(canvas.get_from(0, 6), (ord("1"), 3, 2, 4))
self.assertEqual(canvas.get_from(3, 6), (ord("2"), 2, 2, 4))

def test_list_box_options(self):
"""
Expand Down

0 comments on commit c905be1

Please sign in to comment.