diff options
Diffstat (limited to 'tests/QtWebKit/bug_448.py')
-rw-r--r-- | tests/QtWebKit/bug_448.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/QtWebKit/bug_448.py b/tests/QtWebKit/bug_448.py new file mode 100644 index 000000000..10780ce55 --- /dev/null +++ b/tests/QtWebKit/bug_448.py @@ -0,0 +1,20 @@ + +'''Test cases for bug: http://bugs.openbossa.org/show_bug.cgi?id=448''' + +import unittest +import sys + +from PySide.QtGui import QApplication +from PySide.QtWebKit import QWebView + +class Bug448(unittest.TestCase): + def onError(self, erros): + pass + + def testReturnOwnership(self): + app = QApplication(sys.argv) + webview = QWebView() + webview.page().networkAccessManager().sslErrors.connect(self.onError) + +if __name__ == '__main__': + unittest.main() |