Commit fee44f52 authored by Michal Odehnal's avatar Michal Odehnal

few adjustments to unti tests

parent e1f8fed7
Pipeline #109540751 failed with stages
in 0 seconds
......@@ -335,4 +335,5 @@ class TestActions(GtkDemoTest):
output1 = trap_stdout(child.actions['click'].do())
config.ensureSensitivity = False
output2 = trap_stdout(child.actions['click'].do)
self.assertEqual(output2.strip("\n"), "")
#self.assertEqual(output2.strip("\n"), "")
self.assertNotEqual(output2.strip("\n"), "") # we want the log
......@@ -860,7 +860,10 @@ class TestUnicodeNames(unittest.TestCase):
dogtail.config.config.searchCutoffCount = 3
import dogtail.utils
self.pid = dogtail.utils.run('gedit')
self.app = dogtail.tree.root.application('org.gnome.gedit')
try:
self.app = dogtail.tree.root.application('org.gnome.gedit')
except Exception:
self.app = dogtail.tree.root.application('gedit')
def test_unicode_char_in_name(self):
self.app.child('Open', roleName='toggle button').click()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment