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_integrate(self, qtile, grid):
qtile.c.layout.integrate_left()
assert tree(qtile) == [['a', 'c', 'd'], 'b']
qtile.c.layout.integrate_up()
assert tree(qtile) == [['a', ['c', 'd']], 'b']
qtile.c.layout.integrate_up()
qtile.c.layout.integrate_down()
assert tree(qtile) == [['a', ['c', 'd']], 'b']
qtile.c.layout.integrate_right()
assert tree(qtile) == [['a', 'c'], ['b', 'd']]