Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AutopilotTestCase.register_known_application("xchat.desktop")
- class XchatTests(AutopilotTestCase):
- def setUp(self):
- super(XchatTests, self).setUp()
- self.application = self.launch_app_window('xchat')
- #check app is loaded
- self.app.set_focus()
- self.assertTrue(self.app.is_focused)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement