Ian Ward avatar Ian Ward committed 114199c Draft

test showing Columns.move_cursor_to_coords not handling left/right

Comments (0)

Files changed (1)

         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")
 
             [(1, [(0, 5)]), (1, [(1,3), ((1,0,4), 2)]), (1, [(1,5)]) ] )
 
 
+
 class OverlayTest(unittest.TestCase):
     def test_old_params(self):
         o1 = urwid.Overlay(urwid.SolidFill(u'X'), urwid.SolidFill(u'O'),
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.