openlp/tests/interfaces/__init__.py

17 lines
320 B
Python
Raw Normal View History

2013-02-14 17:30:28 +00:00
import sip
2013-08-31 18:17:38 +00:00
sip.setapi('QDate', 2)
sip.setapi('QDateTime', 2)
sip.setapi('QString', 2)
sip.setapi('QTextStream', 2)
sip.setapi('QTime', 2)
sip.setapi('QUrl', 2)
sip.setapi('QVariant', 2)
2013-02-16 18:04:17 +00:00
import sys
2013-02-16 18:04:17 +00:00
if sys.version_info[1] >= 3:
from unittest.mock import patch, MagicMock
else:
from mock import patch, MagicMock