Comment 4 for bug 861244

Revision history for this message
Yannick Vaucher @ Camptocamp (yvaucher-c2c) wrote :

Hello thanks for your reply,

Ok this might be a bit of a premature bug report.

However, it will show up again if this merge is accepted
https://code.launchpad.net/~c2c/openobject-addons/6.1-fix-l10n_ch-20110916/+merge/75749

I must say that the error shown up only yesterday. It was when I was checking my merge proposal that was perfectly working without any change a day earlier. So the change shouldn't be on my end unless some specifications have change on the mean time.

Here is how you can have the same error as I had :

You couldn't reproduce because of the missing demo data file in current l10n_ch module is not in __openerp__.py on official version but it is already present

--- [ in __openerp__.py ]
add demo/dta_demo.xml

Then, as official l10n_ch 6.1 is not a fixed version, in my yaml file one of my tests will fail.
As it isn't related to the bug (some file creation stuff) we can comment the 2 following lines:

--- [ in test/l10n_ch_dta.yml ]
comment line 100 #assert dta_file, "File is empty"
comment line 103 #assert dta_file[:2] == "01", "File is not a DTA file"

So only those change are made to show up this bug or if it is on my end, this change of behavior. But something that doesn't act as you expect it is quite a bug, isn't it ? :)

bzr status openobject-addons
modified:
  l10n_ch/__openerp__.py
unknown:
  l10n_ch/test/l10n_ch_dta.yml

Can you confirm you have the same output that I double checked ?

Thanks