test/layouts/layout_utils.py
def assertFocusPath(self, *names):
    """
    Asserts that subsequent calls to next_window() focus the open windows in
    the given order (and prev_window() in the reverse order)
    """
    for i in names:
        self.c.group.next_window()
        assertFocused(self, i)
    # let's check twice for sure
    for i in names:
        self.c.group.next_window()
        assertFocused(self, i)
    # Ok, let's check backwards now
    for i in reversed(names):
        assertFocused(self, i)
        self.c.group.prev_window()
    # and twice for sure
    for i in reversed(names):
        assertFocused(self, i)
        self.c.group.prev_window()

    Asserts that subsequent calls to next_window() focus the open windows in
    the given order (and prev_window() in the reverse order)
    
Asserts that subsequent calls to next_window() focus the open windows in
the given order (and prev_window() in the reverse order)
Asserts that subsequent calls to next_window () focus the open windows in the given order ( and prev_window () in the reverse order )
def assertFocusPath(self, *names):
    for i in names:
        self.c.group.next_window()
        assertFocused(self, i)
    for i in names:
        self.c.group.next_window()
        assertFocused(self, i)
    for i in reversed(names):
        assertFocused(self, i)
        self.c.group.prev_window()
    for i in reversed(names):
        assertFocused(self, i)
        self.c.group.prev_window()
def assertFocusPath ( self , * names ) : for i in names : self . c . group . next_window ( ) assertFocused ( self , i ) for i in names : self . c . group . next_window ( ) assertFocused ( self , i ) for i in reversed ( names ) : assertFocused ( self , i ) self . c . group . prev_window ( ) for i in reversed ( names ) : assertFocused ( self , i ) self . c . group . prev_window ( )
Asserts that subsequent calls to next_window() focus the open windows in
the given order (and prev_window() in the reverse order)
Asserts that subsequent calls to next_window () focus the open windows in the given order ( and prev_window () in the reverse order )
"""
    Asserts that subsequent calls to next_window() focus the open windows in
    the given order (and prev_window() in the reverse order)
    """ # let's check twice for sure # Ok, let's check backwards now # and twice for sure
self