[Checkins] [zopefoundation/zope.testbrowser] a51abb: Fix controls (#28)

GitHub noreply at github.com
Sat Feb 25 09:24:48 CET 2017


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.testbrowser
  Commit: a51abbac457f67dc9f581e10f9c93324db2f2e4b
      https://github.com/zopefoundation/zope.testbrowser/commit/a51abbac457f67dc9f581e10f9c93324db2f2e4b
  Author: Michael Howitz <mh at gocept.com>
  Date:   2017-02-25 (Sat, 25 Feb 2017)

  Changed paths:
    M CHANGES.rst
    M src/zope/testbrowser/browser.py
    M src/zope/testbrowser/tests/test_browser.py

  Log Message:
  -----------
  Fix controls (#28)

* Fix set value to something falsy for controls besides radio buttons. (The hack worked for radio buttons but was broken for select boxes.)
* Match parts of the display title. (This restores it in the way mechanize worked.)
* Allow to set a string value instead of a list on `Browser.displayValue`.




More information about the checkins mailing list