How to use the qtile.test.conftest.qtile.c.layout.integrate_left function in qtile

To help you get started, we’ve selected a few qtile examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github numirias / qtile-plasma / tests / test_layout.py View on Github external
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']]