aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtWebKit/bug_448.py
blob: 10780ce551b47b5cc89b07b45ea99c90d58264dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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()