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()