[hg] galaxy 1530: Update check_galaxy for new twill.

classic Classic list List threaded Threaded
1 message Options
| Threaded
Open this post in threaded view
|

[hg] galaxy 1530: Update check_galaxy for new twill.

Nate Coraor (nate@bx.psu.edu)
details:   http://www.bx.psu.edu/hg/galaxy/rev/58ea8585bd88
changeset: 1530:58ea8585bd88
user:      Nate Coraor <[hidden email]>
date:      Thu Sep 25 10:19:56 2008 -0400
description:
Update check_galaxy for new twill.

1 file(s) affected in this change:

scripts/check_galaxy.py

diffs (21 lines):

diff -r ad3f61801a82 -r 58ea8585bd88 scripts/check_galaxy.py
--- a/scripts/check_galaxy.py Wed Sep 24 18:20:39 2008 -0400
+++ b/scripts/check_galaxy.py Thu Sep 25 10:19:56 2008 -0400
@@ -190,7 +190,7 @@
         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 @@
         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: