test/layouts/layout_utils.py
def assertFocusPathUnordered(self, *names):
    """
    Wrapper of assertFocusPath that allows the actual focus path to be
    different from the given one, as long as:
    1) the focus order is always the same at every forward cycle
    2) the focus order is always the opposite at every reverse cycle
    3) all the windows are selected once and only once at every cycle
    """
    unordered_names = list(names)
    ordered_names = []
    while unordered_names:
        self.c.group.next_window()
        wname = self.c.window.info()['name']
        assert wname in unordered_names
        unordered_names.remove(wname)
        ordered_names.append(wname)
    assertFocusPath(ordered_names)

    Wrapper of assertFocusPath that allows the actual focus path to be
    different from the given one, as long as:
    1) the focus order is always the same at every forward cycle
    2) the focus order is always the opposite at every reverse cycle
    3) all the windows are selected once and only once at every cycle
    
Wrapper of assertFocusPath that allows the actual focus path to be
different from the given one, as long as:
1) the focus order is always the same at every forward cycle
2) the focus order is always the opposite at every reverse cycle
3) all the windows are selected once and only once at every cycle
Wrapper of assertFocusPath that allows the actual focus path to be different from the given one as long as : 1 ) the focus order is always the same at every forward cycle 2 ) the focus order is always the opposite at every reverse cycle 3 ) all the windows are selected once and only once at every cycle
def assertFocusPathUnordered(self, *names):
    unordered_names = list(names)
    ordered_names = []
    while unordered_names:
        self.c.group.next_window()
        wname = self.c.window.info()['name']
        assert wname in unordered_names
        unordered_names.remove(wname)
        ordered_names.append(wname)
    assertFocusPath(ordered_names)
def assertFocusPathUnordered ( self , * names ) : unordered_names = list ( names ) ordered_names = [ ] while unordered_names : self . c . group . next_window ( ) wname = self . c . window . info ( ) [ 'name' ] assert wname in unordered_names unordered_names . remove ( wname ) ordered_names . append ( wname ) assertFocusPath ( ordered_names )
Wrapper of assertFocusPath that allows the actual focus path to be
different from the given one, as long as:
1) the focus order is always the same at every forward cycle
2) the focus order is always the opposite at every reverse cycle
3) all the windows are selected once and only once at every cycle
Wrapper of assertFocusPath that allows the actual focus path to be different from the given one as long as : 1 ) the focus order is always the same at every forward cycle 2 ) the focus order is always the opposite at every reverse cycle 3 ) all the windows are selected once and only once at every cycle
"""
    Wrapper of assertFocusPath that allows the actual focus path to be
    different from the given one, as long as:
    1) the focus order is always the same at every forward cycle
    2) the focus order is always the opposite at every reverse cycle
    3) all the windows are selected once and only once at every cycle
    """
self