From d93a7fef0f1efdb2ee39bbafbe98ab29aa7cc20d Mon Sep 17 00:00:00 2001 From: Daniel Blankenberg Date: Fri, 9 Apr 2010 11:29:26 -0400 Subject: [PATCH] Fix Test framework's handling of boolean and multiple select checkboxes and radio buttons. --- test/base/twilltestcase.py | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/test/base/twilltestcase.py b/test/base/twilltestcase.py index 71e9fc93a70..898217bcc20 100644 --- a/test/base/twilltestcase.py +++ b/test/base/twilltestcase.py @@ -1000,24 +1000,21 @@ class TwillTestCase( unittest.TestCase ): break # To help with debugging a tool, print out the form controls when the test fails print "form '%s' contains the following controls ( note the values )" % f.name - control_names = [] - hidden_control_names = [] # cannot change these, so ignore or many complex page tool tests will fail + controls = {} hc_prefix = '