[twill commit] r81 - de-snarking

1 view
Skip to first unread message

codesite...@google.com

unread,
Apr 13, 2009, 5:22:27 PM4/13/09
to twill-...@googlegroups.com
Author: zerbie
Date: Mon Apr 13 14:20:38 2009
New Revision: 81

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

Log:
de-snarking

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 Mon Apr 13 14:20:38 2009
@@ -1,4 +1,3 @@
-from twill.commands import go, find, show

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

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

- # try:
- # 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")
+ go(url)
+ find("These are the twill tests")

def teardown(package):
twilltestlib.kill_server()

Reply all
Reply to author
Forward
0 new messages