Skip to content
This repository has been archived by the owner on May 28, 2022. It is now read-only.

Commit

Permalink
Test opening and closing of new talk widget in talk editor
Browse files Browse the repository at this point in the history
  • Loading branch information
benbuckley committed Nov 20, 2014
1 parent 2d5ac8f commit 079fdaf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/freeseer/tests/frontend/talkeditor/test_talkeditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,10 @@ def test_click_talk(self):
self.assertTrue(True)

def test_click_add_talk(self):
self.assertTrue(True)
QTest.mouseClick(self.talk_editor.commandButtons.addButton, Qt.LeftButton)
self.assertTrue(self.talk_editor.newTalkWidget.isVisible())
QTest.mouseClick(self.talk_editor.newTalkWidget.cancelButton, Qt.LeftButton)
self.assertFalse(self.talk_editor.newTalkWidget.isVisible())

def test_show_save_prompt(self):
self.assertTrue(True)

0 comments on commit 079fdaf

Please sign in to comment.