From 4b5a6f760f3f2f9e4bc97cba8c080bb58c204353 Mon Sep 17 00:00:00 2001 From: Renato Filho Date: Tue, 3 May 2011 16:18:50 -0300 Subject: Fixed some typos on unit test for bug #841 --- tests/manually/README.txt | 2 +- tests/manually/bug_841.py | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'tests') diff --git a/tests/manually/README.txt b/tests/manually/README.txt index 1042dfcf2..da20e3824 100644 --- a/tests/manually/README.txt +++ b/tests/manually/README.txt @@ -1,4 +1,4 @@ -To run these tests is necessary some manually input (most of then not supported by QTest[1]), +To run these tests is necessary some manuall input (most of then not supported by QTest[1]), because of that this is not part of automatic test context. diff --git a/tests/manually/bug_841.py b/tests/manually/bug_841.py index 007cd6af1..08de09e90 100644 --- a/tests/manually/bug_841.py +++ b/tests/manually/bug_841.py @@ -1,8 +1,6 @@ import sys -from PySide.QtCore import * -from PySide.QtGui import * -from PySide.QtTest import * +from PySide.QtGui import QStandardItem, QStandardItemModel, QMainWindow, QTreeView, QAbstractItemView, QApplication, QMessageBox class Item(QStandardItem): def __init__(self, text): @@ -43,7 +41,7 @@ def main(): app = QApplication(sys.argv) w = MainWindow() w.show() - QMessageBox.information(None, "Info", "Just drag and drop the itens.") + QMessageBox.information(None, "Info", "Just drag and drop the items.") sys.exit(app.exec_()) if __name__ == "__main__": -- cgit v1.2.3