diff --git a/qubesagent/xdg.py b/qubesagent/xdg.py index 73a9b36..744950d 100755 --- a/qubesagent/xdg.py +++ b/qubesagent/xdg.py @@ -1,7 +1,7 @@ #!/usr/bin/python -from gi.repository import Gio -from gi.repository import GLib +from gi.repository import Gio # pylint: disable=import-error +from gi.repository import GLib # pylint: disable=import-error import sys import os diff --git a/run-tests b/run-tests index 00e7497..5f7e7d2 100755 --- a/run-tests +++ b/run-tests @@ -10,4 +10,4 @@ export PYTHONPATH [ -r version ] || ln -s ${ROOTDIR}/version ./ [ -r setup.py ] || ln -s ${ROOTDIR}/setup.py ./ "${PYTHON}" ./setup.py egg_info --egg-base "${TESTPYTHONPATH}" -"${PYTHON}" -m coverage run -m unittest discover -p '*.py' -v "$@" +"${PYTHON}" -m coverage run -m unittest discover -p 'test_*.py' -v "$@"