~suutari-olli/openlp/click-slide-to-go-live-from-blank

« back to all changes in this revision

Viewing changes to tests/functional/__init__.py

"Fix traceback when searching for book that doesn't exists in second bible. Fixes bug 1553863.
Set progress bar steps to number of chapters in zefania import.
Use standard button text in the FTW, if possible. Fixes bug 1554554.
Translation fixes. Fixes bug 1545072
Fix song tag detection. Fixes bug 1549549.
Fix a method call with too many parentheses, which fixes getting bible books from crosswalk."

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
from PyQt5 import QtWidgets
27
27
 
28
28
if sys.version_info[1] >= 3:
29
 
    from unittest.mock import ANY, MagicMock, patch, mock_open, call
 
29
    from unittest.mock import ANY, MagicMock, patch, mock_open, call, PropertyMock
30
30
else:
31
 
    from mock import ANY, MagicMock, patch, mock_open, call
 
31
    from mock import ANY, MagicMock, patch, mock_open, call, PropertyMock
32
32
 
33
33
# Only one QApplication can be created. Use QtWidgets.QApplication.instance() when you need to "create" a  QApplication.
34
34
application = QtWidgets.QApplication([])
35
35
application.setApplicationName('OpenLP')
36
36
 
37
 
__all__ = ['ANY', 'MagicMock', 'patch', 'mock_open', 'call', 'application']
 
37
__all__ = ['ANY', 'MagicMock', 'patch', 'mock_open', 'call', 'application', 'PropertyMock']