[twill commit] r76 - forgot to get rid of some random debuggery

0 views
Skip to first unread message

codesite...@google.com

unread,
Apr 10, 2009, 10:32:58 AM4/10/09
to twill-...@googlegroups.com
Author: zerbie
Date: Fri Apr 10 07:12:58 2009
New Revision: 76

Modified:
branches/0.9.2-dev/twill/tests/__init__.py
branches/0.9.2-dev/twill/tests/test-form.twill

Log:
forgot to get rid of some random debuggery

Modified: branches/0.9.2-dev/twill/tests/__init__.py
==============================================================================
--- branches/0.9.2-dev/twill/tests/__init__.py (original)
+++ branches/0.9.2-dev/twill/tests/__init__.py Fri Apr 10 07:12:58 2009
@@ -1,4 +1,4 @@
-from twill import commands as tc
+from twill.commands import go, find, show

import twilltestlib
import twilltestserver
@@ -9,15 +9,12 @@
print "started server"
url = twilltestlib.get_url()

- from twill.commands import go, find, show
-
tc.go(url)
tc.show()

# try:
- # tc.go(url)
- # tc.show()
- # # find("These are the twill tests")
+ # go(url)
+ # find("These are the twill tests")
# # omg, ctb, except WHAT?!
# except:
# raise Exception("\n\n***\n\nHello! The twill test server is not
running or cannot be reached; please free port 8080 (or set TWILL_TEST_PORT
to something else), and clear your proxy settings too!\n\n***\n\n")

Modified: branches/0.9.2-dev/twill/tests/test-form.twill
==============================================================================
--- branches/0.9.2-dev/twill/tests/test-form.twill (original)
+++ branches/0.9.2-dev/twill/tests/test-form.twill Fri Apr 10 07:12:58 2009
@@ -117,19 +117,14 @@
#
# ...and checkbox can be set to True.
#
-echo 'this is the problem'
-show
fv 1 checkboxtest True
submit
-show
find "CHECKBOXTEST: ==True=="

-echo 'made it to second test'
fv 1 checkboxtest 1
submit
find "CHECKBOXTEST: ==True=="

-echo 'made it to third test'
fv 1 checkboxtest -1
submit
find "CHECKBOXTEST: ==True=="

Reply all
Reply to author
Forward
0 new messages