def test_get_core_x11(display): get_core('x11', display).finalize()
def test_get_core_bad(): with pytest.raises(QtileError): get_core("NonBackend").finalize()
def test_get_core_x11(manager_nospawn): get_core('x11', manager_nospawn.display)
def test_get_core_x11(display): get_core("x11", display).finalize()
def test_get_core_bad(manager_nospawn): with pytest.raises(QtileError): get_core("NonBackend")