[BUG] bzr-0.1-rc1: selftest failed on Windows

Martin Pool martinpool at gmail.com
Sun Oct 9 01:57:08 BST 2005


On 09/10/05, Alexander Belchenko <bialix at ukr.net> wrote:
> I discover that in testinv.py class TestEntryDiffing in setUp method
> have following statements:
>
>          if has_symlinks():
>              self.link_1 = self.inv_1['linkid']
>              self.link_2 = self.inv_2['linkid']
>
> Function has_symlinks() from osutils.py return False if standard module
> os have not attribute symlink. On Windows this module have not this
> attributes. What need to do in this situation? Disable test or redesign
> them?

For now I think disable the test, based on something like hasattr(os,
'has_symlinks').

--
Martin




More information about the bazaar mailing list