Do not display gi Gtk warning when running tests

- Fix Gtk import
This commit is contained in:
Bahtiar `kalkin-` Gadimov 2017-07-12 15:45:10 +02:00
parent 3c99aab75a
commit a936b07d7b
No known key found for this signature in database
GPG Key ID: 07799AE179ED4FD4

View File

@ -22,7 +22,9 @@
import time
import unittest
from gi.repository import Gtk
import gi # isort:skip
gi.require_version('Gtk', '3.0') # isort:skip
from gi.repository import Gtk # isort:skip pylint:
from qubespolicy.gtkhelpers import VMListModeler, GtkOneTimerHelper, \
FocusStealingHelper