summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Ward <ian@excess.org>2012-09-21 16:56:13 -0400
committerIan Ward <ian@excess.org>2012-09-21 16:56:13 -0400
commitb4fed14f3a529f7dc9b3be4d4e7bcd6eaa4c0254 (patch)
tree7a4ebc74afd19da35b8ac71858bc40bfc4acc12a
parent5010a2dd2390c749eba64abdc7e39f439562747a (diff)
downloadurwid-b4fed14f3a529f7dc9b3be4d4e7bcd6eaa4c0254.tar.gz
more widget-squishing tests
--HG-- branch : feature-sphinx
-rwxr-xr-xurwid/tests.py3
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):