forked from openlp/openlp
Pep8
This commit is contained in:
parent
dffba47b44
commit
98a021b89f
@ -34,11 +34,10 @@ import urllib.request
|
|||||||
from http.client import HTTPException
|
from http.client import HTTPException
|
||||||
from random import randint
|
from random import randint
|
||||||
from shutil import which
|
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():
|
if not is_win() and not is_macosx():
|
||||||
try:
|
try:
|
||||||
|
@ -60,4 +60,4 @@ class TestVersionchecker(TestMixin, TestCase):
|
|||||||
version_thread.run()
|
version_thread.run()
|
||||||
# THEN: If the version has changed the main window is notified
|
# THEN: If the version has changed the main window is notified
|
||||||
self.assertTrue(mocked_main_window.openlp_version_check.emit.called,
|
self.assertTrue(mocked_main_window.openlp_version_check.emit.called,
|
||||||
'The main windows should have been notified')
|
'The main windows should have been notified')
|
||||||
|
Loading…
Reference in New Issue
Block a user