Source

pyqtwidgets / test / test_downloadialog.py

Full commit
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from PyQt4.QtCore import *
from PyQt4.QtGui import *

from qtwidgets.downloadialog import download



def test_download():
    import sys
    app = QApplication(sys.argv)
    print download("http://slashdot.org/")



if __name__ == "__main__":
    test_download()