示例#1
0
 def test_gnome_screenshot():
     assert not kde()
     backend_to_check("gnome-screenshot")
示例#2
0
 def test_gnome_dbus():
     eq_(kde(), False)
     backend_to_check("gnome_dbus")
 def test_gnome_screenshot():
     eq_(kde(), False)
     backend_to_check("gnome-screenshot")
    def test_gnome_screenshot():
        assert not kde()

        # the flash effect can be seen on the next screenshot,
        # so some delay is needed
        backend_to_check("gnome-screenshot", delay=1)
from pyscreenshot.util import use_x_display
import os
from ref import backend_to_check, check_import, kde, gnome

if kde():

    def test_kwin_dbus():
        assert not gnome()
        backend_to_check("kwin_dbus")
示例#6
0
 def test_gnome_dbus():
     assert not kde()
     backend_to_check("gnome_dbus")