xpresser-team team mailing list archive
-
xpresser-team team
-
Mailing list archive
-
Message #00028
[Merge] lp:~xpresser-team/xpresser/cleanup into lp:xpresser
Chris Wayne has proposed merging lp:~xpresser-team/xpresser/cleanup into lp:xpresser.
Requested reviews:
Xpresser (xpresser-team)
For more details, see:
https://code.launchpad.net/~xpresser-team/xpresser/cleanup/+merge/124090
Cleaning up, i.e. taking out the un-needed .pyc files, and fixing the xutils.type() unit tests (needed to add in the hold arg)
--
https://code.launchpad.net/~xpresser-team/xpresser/cleanup/+merge/124090
Your team Xpresser is requested to review the proposed merge of lp:~xpresser-team/xpresser/cleanup into lp:xpresser.
=== modified file 'setup.py'
--- setup.py 2012-07-05 16:43:26 +0000
+++ setup.py 2012-09-13 02:16:20 +0000
@@ -1,3 +1,24 @@
+#
+# Copyright (c) 2010 Canonical
+#
+# Written by Gustavo Niemeyer <gustavo@xxxxxxxxxxxx>
+#
+# This file is part of the Xpresser GUI automation library.
+#
+# Xpresser is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3,
+# as published by the Free Software Foundation.
+#
+# Xpresser is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
+
#!/usr/bin/env python
from distutils.core import setup
@@ -7,6 +28,6 @@
description='Python library to script Graphic User Interfaces.',
author='Gustavo Niemeyer',
author_email='gustavo.niemeyer@xxxxxxxxxxxxx',
- url='https://edge.launchpad.net/xpresser',
+ url='http://xpresser.com',
packages=['xpresser'],
)
=== modified file 'xpresser/lib/mocker.py'
--- xpresser/lib/mocker.py 2010-05-16 22:59:48 +0000
+++ xpresser/lib/mocker.py 2012-09-13 02:16:20 +0000
@@ -1,3 +1,24 @@
+#
+# Copyright (c) 2010 Canonical
+#
+# Written by Gustavo Niemeyer <gustavo@xxxxxxxxxxxx>
+#
+# This file is part of the Xpresser GUI automation library.
+#
+# Xpresser is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3,
+# as published by the Free Software Foundation.
+#
+# Xpresser is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
+
"""
Copyright (c) 2007 Gustavo Niemeyer <gustavo@xxxxxxxxxxxx>
=== modified file 'xpresser/tests/test_xutils.py'
--- xpresser/tests/test_xutils.py 2012-08-23 17:11:45 +0000
+++ xpresser/tests/test_xutils.py 2012-09-13 02:16:20 +0000
@@ -80,7 +80,7 @@
window.present()
entry.grab_focus()
self.flush_gtk()
- xutils.type("Hello there!")
+ xutils.type("Hello there!", 0.4)
self.flush_gtk()
self.assertEquals(entry.get_text(), "Hello there!")
finally:
@@ -93,7 +93,7 @@
window.present()
entry.grab_focus()
self.flush_gtk()
- xutils.type(["<Shift>", "hi there"])
+ xutils.type(["<Shift>", "hi there"], 0.4)
self.flush_gtk()
self.assertEquals(entry.get_text(), "HI THERE")
finally:
Follow ups