diff options
author | Ian Ward <ian@excess.org> | 2013-12-24 14:00:13 -0500 |
---|---|---|
committer | Ian Ward <ian@excess.org> | 2013-12-24 14:00:13 -0500 |
commit | aa859418b2862fe3761953836cb7e345b016ba29 (patch) | |
tree | 4e48c93c727a95bb65ff3b57c0dea160cc624cea | |
parent | 5cac4503b6fc5f0be3bde8862482cb824e32712f (diff) | |
download | urwid-aa859418b2862fe3761953836cb7e345b016ba29.tar.gz |
test to reproduce tracebacks in #39
-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 8eab644..83416c1 100644 --- a/urwid/tests/test_container.py +++ b/urwid/tests/test_container.py @@ -129,6 +129,11 @@ class PileTest(unittest.TestCase): ]) p.render((5, 4)) + def test_mouse_event_in_empty_pile(self): + p = urwid.Pile([]) + p.mouse_event((5,), 'button press', 1, 1, 1, False) + p.mouse_event((5,), 'button press', 1, 1, 1, True) + class ColumnsTest(unittest.TestCase): def cwtest(self, desc, l, divide, size, exp, focus_column=0): |