[Yum-devel] Test suite errors ('FakeRpmDb' object has no attribute 'readOnlyTS')

Ville Skyttä ville.skytta at iki.fi
Wed Jun 23 20:55:39 UTC 2010


Current git has a bunch of test suite errors like:

ERROR: testRemoveRequired (simpleremovetests.SimpleRemoveTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/scop/cvs/yum/test/simpleremovetests.py", line 30, in testRemoveRequired
    res, msg = self.runOperation(['remove', 'foo'], [p.leaf, p.requires_leaf], [])
  File "/home/scop/cvs/yum/test/testbase.py", line 427, in runOperation
    res, msg = self.depsolver.doCommands()
  File "./cli.py", line 396, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "./yumcommands.py", line 390, in doCommand
    return base.erasePkgs(extcmds)
  File "./cli.py", line 782, in erasePkgs
    if not self.remove(pattern=arg):
  File "./yum/__init__.py", line 3670, in remove
    ts = self.rpmdb.readOnlyTS()
AttributeError: 'FakeRpmDb' object has no attribute 'readOnlyTS'


More information about the Yum-devel mailing list