Update check_galaxy for new twill.

This commit is contained in:
Nate Coraor
2008-09-25 10:19:56 -04:00
parent 0f1130e84a
commit fbe9d4e4e5
+2 -2
View File
@@ -190,7 +190,7 @@ class Browser:
tc.fv("1", "password", pw)
tc.submit("Login")
tc.code(200)
if len(tc.get_browser()._browser.forms()) > 0:
if len(tc.get_browser().get_all_forms()) > 0:
# uh ohs, fail
p = userParser()
p.feed(tc.browser.get_html())
@@ -210,7 +210,7 @@ class Browser:
tc.fv("1", "confirm", pw)
tc.submit("Create")
tc.code(200)
if len(tc.get_browser()._browser.forms()) > 0:
if len(tc.get_browser().get_all_forms()) > 0:
p = userParser()
p.feed(tc.browser.get_html())
if p.already_exists: