thanks, Maurits; I reviewed browser.contents just after opening the edit form and the records on the field are empty.

also, there are no doctests in Products.DataGridField beyond the validators, so I imagine there's no way to test it using testbrowser :-/

Héctor Velarde

On 05/06/11 17:05, Maurits van Rees wrote:
Javascript is used, but datagrids should work fine without it, AFAIK.

The tests look fine at first glance.  You may want to have a look at the
tests in Products.DataGridField itself to see if it is handled
differently there.

Also, I usually add a line in the doctests to write the browser contents
to a file and then look at it in a real browser, like this:

open('/tmp/test.html', 'w').write(browser.contents)

A good spot may be right before you hit the Save button; perhaps add
that line in both cases (once with test2.html).


--
Maurits van Rees

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers

Reply via email to