openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #32980
comment
============================= test session starts ==============================
platform linux -- Python 3.6.5, pytest-3.6.2, py-1.5.3, pluggy-0.6.0
rootdir: /var/lib/jenkins/jobs/02-Run_Tests/workspace/OpenLP-2.5.dev2833, inifile:
plugins: mock-1.7.1, cov-2.5.1
collected 1208 items / 14 errors
==================================== ERRORS ====================================
ERROR collecting tests/functional/openlp_plugins/bibles/test_wordprojectimport.py
tests/functional/openlp_plugins/bibles/test_wordprojectimport.py:33: in <module>
INDEX_PAGE = (TEST_PATH / 'wordproject_index.htm').read_bytes().decode()
/usr/lib/python3.6/pathlib.py:1187: in read_bytes
with self.open(mode='rb') as f:
/usr/lib/python3.6/pathlib.py:1181: in open
opener=self._opener)
/usr/lib/python3.6/pathlib.py:1035: in _opener
return self._accessor.open(self, flags, mode)
/usr/lib/python3.6/pathlib.py:387: in wrapped
return strfunc(str(pathobj), *args)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/jenkins/jobs/02-Run_Tests/workspace/OpenLP-2.5.dev2833/tests/resources/bibles/wordproject_index.htm'
___ ERROR collecting tests/functional/openlp_plugins/media/test_mediaitem.py ___
tests/functional/openlp_plugins/media/test_mediaitem.py:32: in <module>
from openlp.plugins.media.lib.mediaitem import MediaMediaItem
openlp/plugins/media/lib/__init__.py:23: in <module>
from .mediaitem import MediaMediaItem
openlp/plugins/media/lib/mediaitem.py:49: in <module>
CLAPPERBOARD = UiIcons().clapperboard
openlp/core/ui/icons.py:48: in __new__
cls.load(cls)
openlp/core/ui/icons.py:57: in load
qta.load_font('op', font_path, charmap_path)
/usr/lib/python3/dist-packages/qtawesome/__init__.py:153: in load_font
return _instance().load_font(prefix, ttf_filename, charmap_filename, directory)
/usr/lib/python3/dist-packages/qtawesome/iconic_font.py:223: in load_font
os.path.join(directory, ttf_filename)))
E qtawesome.iconic_font.FontError: Font at '/var/lib/jenkins/jobs/02-Run_Tests/workspace/OpenLP-2.5.dev2833/openlp/core/ui/fonts/OpenLP.ttf' appears to be empty. If you are on Windows 10, please read https://support.microsoft.com/en-us/kb/3053676 to know how to prevent Windows from blocking the fonts that come with QtAwesome.
__ ERROR collecting tests/functional/openlp_plugins/media/test_mediaplugin.py __
tests/functional/openlp_plugins/media/test_mediaplugin.py:29: in <module>
from openlp.plugins.media.mediaplugin import MediaPlugin, process_check_binary
openlp/plugins/media/mediaplugin.py:38: in <module>
from openlp.plugins.media.lib import MediaMediaItem, MediaTab
openlp/plugins/media/lib/__init__.py:23: in <module>
from .mediaitem import MediaMediaItem
openlp/plugins/media/lib/mediaitem.py:49: in <module>
CLAPPERBOARD = UiIcons().clapperboard
E AttributeError: 'UiIcons' object has no attribute 'clapperboard'
______ ERROR collecting tests/openlp_core/projectors/test_projector_db.py ______
ImportError while importing test module '/var/lib/jenkins/jobs/02-Run_Tests/workspace/OpenLP-2.5.dev2833/tests/openlp_core/projectors/test_projector_db.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3/dist-packages/uno.py:350: in _uno_import
return _builtin_import(name, *optargs, **kwargs)
tests/openlp_core/projectors/test_projector_db.py:41: in <module>
from tests.resources.projector.data import TEST_DB_PJLINK1, TEST_DB, TEST1_DATA, TEST2_DATA, TEST3_DATA
/usr/lib/python3/dist-packages/uno.py:428: in _uno_import
raise uno_import_exc
/usr/lib/python3/dist-packages/uno.py:350: in _uno_import
return _builtin_import(name, *optargs, **kwargs)
E ImportError: No module named 'tests.resources' (or 'tests.resources.projector.data.TEST_DB_PJLINK1' is unknown)
___ ERROR collecting tests/openlp_core/projectors/test_projector_editform.py ___
ImportError while importing test module '/var/lib/jenkins/jobs/02-Run_Tests/workspace/OpenLP-2.5.dev2833/tests/openlp_core/projectors/test_projector_editform.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3/dist-packages/uno.py:350: in _uno_import
return _builtin_import(name, *optargs, **kwargs)
tests/openlp_core/projectors/test_projector_editform.py:34: in <module>
from tests.resources.projector.data import TEST_DB, TEST1_DATA
/usr/lib/python3/dist-packages/uno.py:428: in _uno_import
raise uno_import_exc
/usr/lib/python3/dist-packages/uno.py:350: in _uno_import
return _builtin_import(name, *optargs, **kwargs)
E ImportError: No module named 'tests.resources' (or 'tests.resources.projector.data.TEST_DB' is unknown)
ERROR collecting tests/openlp_core/projectors/test_projector_pjlink_base_01.py
ImportError while importing test module '/var/lib/jenkins/jobs/02-Run_Tests/workspace/OpenLP-2.5.dev2833/tests/openlp_core/projectors/test_projector_pjlink_base_01.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3/dist-packages/uno.py:350: in _uno_import
return _builtin_import(name, *optargs, **kwargs)
tests/openlp_core/projectors/test_projector_pjlink_base_01.py:35: in <module>
from tests.resources.projector.data import TEST1_DATA
/usr/lib/python3/dist-packages/uno.py:428: in _uno_import
raise uno_import_exc
/usr/lib/python3/dist-packages/uno.py:350: in _uno_import
return _builtin_import(name, *optargs, **kwargs)
E ImportError: No module named 'tests.resources' (or 'tests.resources.projector.data.TEST1_DATA' is unknown)
ERROR collecting tests/openlp_core/projectors/test_projector_pjlink_base_02.py
ImportError while importing test module '/var/lib/jenkins/jobs/02-Run_Tests/workspace/OpenLP-2.5.dev2833/tests/openlp_core/projectors/test_projector_pjlink_base_02.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3/dist-packages/uno.py:350: in _uno_import
return _builtin_import(name, *optargs, **kwargs)
tests/openlp_core/projectors/test_projector_pjlink_base_02.py:33: in <module>
from tests.resources.projector.data import TEST1_DATA
/usr/lib/python3/dist-packages/uno.py:428: in _uno_import
raise uno_import_exc
/usr/lib/python3/dist-packages/uno.py:350: in _uno_import
return _builtin_import(name, *optargs, **kwargs)
E ImportError: No module named 'tests.resources' (or 'tests.resources.projector.data.TEST1_DATA' is unknown)
ERROR collecting tests/openlp_core/projectors/test_projector_pjlink_cmd_routing.py
ImportError while importing test module '/var/lib/jenkins/jobs/02-Run_Tests/workspace/OpenLP-2.5.dev2833/tests/openlp_core/projectors/test_projector_pjlink_cmd_routing.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3/dist-packages/uno.py:350: in _uno_import
return _builtin_import(name, *optargs, **kwargs)
tests/openlp_core/projectors/test_projector_pjlink_cmd_routing.py:35: in <module>
from tests.resources.projector.data import TEST1_DATA
/usr/lib/python3/dist-packages/uno.py:428: in _uno_import
raise uno_import_exc
/usr/lib/python3/dist-packages/uno.py:350: in _uno_import
return _builtin_import(name, *optargs, **kwargs)
E ImportError: No module named 'tests.resources' (or 'tests.resources.projector.data.TEST1_DATA' is unknown)
ERROR collecting tests/openlp_core/projectors/test_projector_pjlink_commands_01.py
ImportError while importing test module '/var/lib/jenkins/jobs/02-Run_Tests/workspace/OpenLP-2.5.dev2833/tests/openlp_core/projectors/test_projector_pjlink_commands_01.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3/dist-packages/uno.py:350: in _uno_import
return _builtin_import(name, *optargs, **kwargs)
tests/openlp_core/projectors/test_projector_pjlink_commands_01.py:43: in <module>
from tests.resources.projector.data import TEST1_DATA
/usr/lib/python3/dist-packages/uno.py:428: in _uno_import
raise uno_import_exc
/usr/lib/python3/dist-packages/uno.py:350: in _uno_import
return _builtin_import(name, *optargs, **kwargs)
E ImportError: No module named 'tests.resources' (or 'tests.resources.projector.data.TEST1_DATA' is unknown)
ERROR collecting tests/openlp_core/projectors/test_projector_pjlink_commands_02.py
ImportError while importing test module '/var/lib/jenkins/jobs/02-Run_Tests/workspace/OpenLP-2.5.dev2833/tests/openlp_core/projectors/test_projector_pjlink_commands_02.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3/dist-packages/uno.py:350: in _uno_import
return _builtin_import(name, *optargs, **kwargs)
tests/openlp_core/projectors/test_projector_pjlink_commands_02.py:32: in <module>
from tests.resources.projector.data import TEST_HASH, TEST_PIN, TEST_SALT, TEST1_DATA, TEST2_DATA
/usr/lib/python3/dist-packages/uno.py:428: in _uno_import
raise uno_import_exc
/usr/lib/python3/dist-packages/uno.py:350: in _uno_import
return _builtin_import(name, *optargs, **kwargs)
E ImportError: No module named 'tests.resources' (or 'tests.resources.projector.data.TEST_HASH' is unknown)
__ ERROR collecting tests/openlp_core/projectors/test_projector_pjlink_udp.py __
ImportError while importing test module '/var/lib/jenkins/jobs/02-Run_Tests/workspace/OpenLP-2.5.dev2833/tests/openlp_core/projectors/test_projector_pjlink_udp.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3/dist-packages/uno.py:350: in _uno_import
return _builtin_import(name, *optargs, **kwargs)
tests/openlp_core/projectors/test_projector_pjlink_udp.py:34: in <module>
from tests.resources.projector.data import TEST1_DATA
/usr/lib/python3/dist-packages/uno.py:428: in _uno_import
raise uno_import_exc
/usr/lib/python3/dist-packages/uno.py:350: in _uno_import
return _builtin_import(name, *optargs, **kwargs)
E ImportError: No module named 'tests.resources' (or 'tests.resources.projector.data.TEST1_DATA' is unknown)
__ ERROR collecting tests/openlp_core/projectors/test_projector_sourceform.py __
ImportError while importing test module '/var/lib/jenkins/jobs/02-Run_Tests/workspace/OpenLP-2.5.dev2833/tests/openlp_core/projectors/test_projector_sourceform.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3/dist-packages/uno.py:350: in _uno_import
return _builtin_import(name, *optargs, **kwargs)
tests/openlp_core/projectors/test_projector_sourceform.py:39: in <module>
from tests.resources.projector.data import TEST_DB, TEST1_DATA
/usr/lib/python3/dist-packages/uno.py:428: in _uno_import
raise uno_import_exc
/usr/lib/python3/dist-packages/uno.py:350: in _uno_import
return _builtin_import(name, *optargs, **kwargs)
E ImportError: No module named 'tests.resources' (or 'tests.resources.projector.data.TEST_DB' is unknown)
__ ERROR collecting tests/openlp_core/projectors/test_projector_utilities.py ___
ImportError while importing test module '/var/lib/jenkins/jobs/02-Run_Tests/workspace/OpenLP-2.5.dev2833/tests/openlp_core/projectors/test_projector_utilities.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3/dist-packages/uno.py:350: in _uno_import
return _builtin_import(name, *optargs, **kwargs)
tests/openlp_core/projectors/test_projector_utilities.py:29: in <module>
from tests.resources.projector.data import TEST_PIN, TEST_SALT, TEST_HASH
/usr/lib/python3/dist-packages/uno.py:428: in _uno_import
raise uno_import_exc
/usr/lib/python3/dist-packages/uno.py:350: in _uno_import
return _builtin_import(name, *optargs, **kwargs)
E ImportError: No module named 'tests.resources' (or 'tests.resources.projector.data.TEST_PIN' is unknown)
____ ERROR collecting tests/openlp_core/projectors/test_projectormanager.py ____
ImportError while importing test module '/var/lib/jenkins/jobs/02-Run_Tests/workspace/OpenLP-2.5.dev2833/tests/openlp_core/projectors/test_projectormanager.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3/dist-packages/uno.py:350: in _uno_import
return _builtin_import(name, *optargs, **kwargs)
tests/openlp_core/projectors/test_projectormanager.py:34: in <module>
from tests.resources.projector.data import TEST_DB
/usr/lib/python3/dist-packages/uno.py:428: in _uno_import
raise uno_import_exc
/usr/lib/python3/dist-packages/uno.py:350: in _uno_import
return _builtin_import(name, *optargs, **kwargs)
E ImportError: No module named 'tests.resources' (or 'tests.resources.projector.data.TEST_DB' is unknown)
!!!!!!!!!!!!!!!!!!! Interrupted: 14 errors during collection !!!!!!!!!!!!!!!!!!!
=========================== 14 error in 9.06 seconds ===========================
--
https://code.launchpad.net/~raoul-snyman/openlp/pep440/+merge/353579
Your team OpenLP Core is requested to review the proposed merge of lp:~raoul-snyman/openlp/pep440 into lp:openlp.
References