diff options
| author | Ian Ward <ian@excess.org> | 2012-09-21 16:56:13 -0400 |
|---|---|---|
| committer | Ian Ward <ian@excess.org> | 2012-09-21 16:56:13 -0400 |
| commit | b4fed14f3a529f7dc9b3be4d4e7bcd6eaa4c0254 (patch) | |
| tree | 7a4ebc74afd19da35b8ac71858bc40bfc4acc12a | |
| parent | 5010a2dd2390c749eba64abdc7e39f439562747a (diff) | |
| download | urwid-b4fed14f3a529f7dc9b3be4d4e7bcd6eaa4c0254.tar.gz | |
more widget-squishing tests
--HG--
branch : feature-sphinx
| -rwxr-xr-x | urwid/tests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/urwid/tests.py b/urwid/tests.py index e8ae705..9beba4d 100755 --- a/urwid/tests.py +++ b/urwid/tests.py @@ -2374,6 +2374,8 @@ class WidgetSquishTest(unittest.TestCase): assert c.rows() == 0 c = w.render((80,1), focus=False) assert c.rows() == 1 + c = w.render((0, 25), focus=False) + c = w.render((1, 25), focus=False) def test_listbox(self): self.wstest(urwid.ListBox([])) @@ -2416,6 +2418,7 @@ class WidgetSquishTest(unittest.TestCase): def test_columns(self): self.wstest(urwid.Columns([urwid.SolidFill()])) + self.wstest(urwid.Columns([(4, urwid.SolidFill())])) class CommonContainerTest(unittest.TestCase): |
