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