Fixed some typos on unit test for bug #841
This commit is contained in:
parent
95dd5c0861
commit
3590ad14d5
2 changed files with 3 additions and 5 deletions
|
|
@ -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.
|
because of that this is not part of automatic test context.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,6 @@
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from PySide.QtCore import *
|
from PySide.QtGui import QStandardItem, QStandardItemModel, QMainWindow, QTreeView, QAbstractItemView, QApplication, QMessageBox
|
||||||
from PySide.QtGui import *
|
|
||||||
from PySide.QtTest import *
|
|
||||||
|
|
||||||
class Item(QStandardItem):
|
class Item(QStandardItem):
|
||||||
def __init__(self, text):
|
def __init__(self, text):
|
||||||
|
|
@ -43,7 +41,7 @@ def main():
|
||||||
app = QApplication(sys.argv)
|
app = QApplication(sys.argv)
|
||||||
w = MainWindow()
|
w = MainWindow()
|
||||||
w.show()
|
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_())
|
sys.exit(app.exec_())
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue