diff options
| author | Ian Ward <ian@excess.org> | 2013-01-27 15:12:59 -0500 |
|---|---|---|
| committer | Ian Ward <ian@excess.org> | 2013-01-27 15:12:59 -0500 |
| commit | e1d43765583567894f8a17949febbfa4b906afaa (patch) | |
| tree | 20daa6979211c5a32ad6ddc1fa34b1d740aa19ac /urwid/tests | |
| parent | c6095bb1c202b057fc3c607067859f3ae273c9ee (diff) | |
| download | urwid-e1d43765583567894f8a17949febbfa4b906afaa.tar.gz | |
test showing Columns.move_cursor_to_coords not handling left/right
Diffstat (limited to 'urwid/tests')
| -rw-r--r-- | urwid/tests/test_container.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/urwid/tests/test_container.py b/urwid/tests/test_container.py index 6eab4aa..caa0ef4 100644 --- a/urwid/tests/test_container.py +++ b/urwid/tests/test_container.py @@ -218,6 +218,10 @@ class ColumnsTest(unittest.TestCase): self.mctest("l e edge",[x,e,x],1,(20,),6,0,True,1,7) self.mctest("r e edge",[x,e,x],1,(20,),13,0,True,1,12) + # 'left'/'right' special cases + self.mctest("right", [e, e, e], 0, (12,), 'right', 0, True, 2, 'right') + self.mctest("left", [e, e, e], 0, (12,), 'left', 0, True, 0, 'left') + def test_init_with_a_generator(self): urwid.Columns(urwid.Text(c) for c in "ABC") @@ -238,6 +242,7 @@ class ColumnsTest(unittest.TestCase): c.get_pref_col((10,)) + class OverlayTest(unittest.TestCase): def test_old_params(self): o1 = urwid.Overlay(urwid.SolidFill(u'X'), urwid.SolidFill(u'O'), |
