Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_split_directions(self, qtile):
qtile.test_window('a')
qtile.c.layout.mode_horizontal()
qtile.test_window('b')
qtile.c.layout.mode_vertical()
qtile.test_window('c')
assert tree(qtile) == ['a', ['b', 'c']]