This commit is contained in:
Tim Bentley 2016-04-04 21:03:19 +01:00
parent dffba47b44
commit 98a021b89f
2 changed files with 3 additions and 4 deletions

View File

@ -34,11 +34,10 @@ import urllib.request
from http.client import HTTPException
from random import randint
from shutil import which
from subprocess import Popen, PIPE
from PyQt5 import QtGui, QtCore
from PyQt5 import QtGui
from openlp.core.common import Registry, AppLocation, Settings, is_win, is_macosx
from openlp.core.common import Registry, is_win, is_macosx
if not is_win() and not is_macosx():
try:

View File

@ -60,4 +60,4 @@ class TestVersionchecker(TestMixin, TestCase):
version_thread.run()
# THEN: If the version has changed the main window is notified
self.assertTrue(mocked_main_window.openlp_version_check.emit.called,
'The main windows should have been notified')
'The main windows should have been notified')