[nyx/master] Fix unit test for scrolling to bottom

commit a001017f8d2ddaac004d30d3e74eee5e8f30cb97 Author: Damian Johnson <atagar@torproject.org> Date: Sun Jul 3 18:22:56 2016 -0700 Fix unit test for scrolling to bottom Little head scratching to figure the right values, but meh. --- test/subwindow.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/subwindow.py b/test/subwindow.py index c785ecc..7f428e2 100644 --- a/test/subwindow.py +++ b/test/subwindow.py @@ -113,8 +113,6 @@ class TestCurses(unittest.TestCase): @require_curses def test_scrollbar_bottom(self): def _draw(subwindow): - subwindow.scrollbar(15, 30, 30, fill_char = '*') - - self.skipTest('nyx presently has a bug with regard to scrolling to the bottom') + subwindow.scrollbar(15, 21, 30, fill_char = '*') self.assertEqual(EXPECTED_SCROLLBAR_BOTTOM, test.render(_draw).content.strip())
participants (1)
-
atagar@torproject.org