IRC log of #zope3-dev for Sunday, 2005-02-27

_projekt01Hi, is it possible to compare html (rendered widget) in functional doc tests (ftests)? I need to compare the spaces in front of a html tags?00:09
mgedmin_projekt01, I'm not sure I understand your question00:14
mgedminyou do not need to get the exact same number of spaces in your doctests00:15
_projekt01I need to count the intend in HTML00:15
mgedminfunctional doctests by default have the doctest NORMALIZE_WHITESPACE flag set00:15
mgedminif you want you test to fail if the indent is wrong, you can turn that flag off00:16
_projekt01And I can't compare something like "   <div>", it's the same like "<div>"00:16
mgedmin>>> code code code  # doctest: -NORMALIZE_WHITESPACE00:16
mgedminyou can00:16
_projekt01Ah, Ok a minus, I'll try00:16
mgedmin- turns that option off, + turns it on00:17
_projekt01And do I need to write ... In fornt of the compared string? Or just empty00:17
mgedminnote that when NORMALIZE_WHITESPACE is on, if you have other mismatches, you will get a diff that shows the differences in whitespace too00:17
mgedminthe diffs are often misleading :-(00:18
_projekt01Ok, I saw this00:18
mgedmin... will match any sequence of characters00:18
mgedmin(however you cannot start the expected output with ..., because it looks like a continuation line)00:18
_projekt01Especialy the description in the fields if you write the description in """some text and line break """ you get some wired empty spaces00:19
_projekt01Ok, I think it's no that important to compare the whitespace form widgets. I'll ignore it.00:20
*** tvon has quit IRC00:35
*** GaryPoster has joined #zope3-dev00:51
*** tvon has joined #zope3-dev00:54
*** hazmat has joined #zope3-dev01:02
*** Aiste has quit IRC01:09
*** Aiste has joined #zope3-dev01:10
*** bradb has quit IRC01:14
*** GaryPoster has quit IRC01:24
*** jdz_ has quit IRC01:29
*** hazmat has quit IRC01:54
*** sashav has quit IRC01:55
*** hazmat has joined #zope3-dev02:08
*** gintas has quit IRC02:20
*** BjornT has quit IRC02:28
*** GaryPoster has joined #zope3-dev02:28
*** GaryPoster has quit IRC02:39
*** GaryPoster has joined #zope3-dev02:39
*** alga has joined #zope3-dev02:40
*** GaryPoster has quit IRC02:58
*** Sickblia has joined #zope3-dev03:02
*** Sickblia has left #zope3-dev03:03
*** Jim7J1AJ1 has quit IRC03:03
*** Jim7J1AJH has joined #zope3-dev03:03
*** sashav has joined #zope3-dev03:07
*** hazmat has quit IRC04:06
*** _projekt01 has quit IRC04:23
*** sashav has quit IRC04:27
*** sashav has joined #zope3-dev04:34
*** niemeyer has quit IRC05:35
*** alga has quit IRC05:43
*** sashav has quit IRC06:11
*** mgedmin has quit IRC06:56
*** rejj has joined #zope3-dev08:38
*** zug has quit IRC08:38
*** admp has joined #zope3-dev11:08
*** hazmat has joined #zope3-dev11:23
*** hazmat has quit IRC11:33
*** hazmat has joined #zope3-dev11:35
*** bskahan has quit IRC11:53
*** GaryPoster has joined #zope3-dev11:54
*** hazmat has quit IRC12:10
*** d2m has joined #zope3-dev13:35
*** BjornT has joined #zope3-dev13:50
*** __gotcha_ is now known as __gotchaway13:57
*** d2m has quit IRC14:42
*** zagy has quit IRC15:07
*** gintas has joined #zope3-dev15:37
*** GaryPoster has quit IRC15:53
*** GaryPoster has joined #zope3-dev16:09
*** oferw has joined #zope3-dev16:10
*** oferw has quit IRC16:52
*** zagy has joined #zope3-dev16:52
*** mgedmin has joined #zope3-dev17:08
*** bradb has joined #zope3-dev17:13
*** zagy has quit IRC17:26
*** zagy has joined #zope3-dev17:40
*** GaryPoster has quit IRC17:43
*** gintas has quit IRC17:46
*** niemeyer has joined #zope3-dev17:55
*** tav|offline is now known as tav18:10
*** zagy_ has joined #zope3-dev18:11
*** xena has joined #zope3-dev18:21
*** zagy has quit IRC18:26
*** xena has quit IRC18:37
*** xena has joined #zope3-dev18:38
*** zagy_ has quit IRC18:44
*** GaryPoster has joined #zope3-dev19:05
*** GaryPoster has quit IRC19:16
*** GaryPoster has joined #zope3-dev19:35
*** zagy_ has joined #zope3-dev19:46
*** mgedmin has quit IRC19:49
*** WebMaven has joined #zope3-dev19:50
*** bskahan has joined #zope3-dev19:56
*** GaryPoster has quit IRC20:11
*** d2m has joined #zope3-dev21:09
*** admp has quit IRC21:27
*** tarek_away has joined #zope3-dev22:13
*** tarek_away is now known as tarek_22:14
*** projekt01 has joined #zope3-dev23:08

Generated by 2.15.1 by Marius Gedminas - find it at!