def test_kwin_dbus(): assert not gnome() backend_to_check("kwin_dbus")
from pyscreenshot.util import use_x_display import os from ref import backend_to_check, check_import, gnome, kde if gnome(): def test_gnome_screenshot(): assert not kde() backend_to_check("gnome-screenshot")
def test_kwin_dbus(): eq_(gnome(), False) backend_to_check("kwin_dbus")