[Pulp-list] Still at 2 unit test failures
Jason Dobies
jason.dobies at redhat.com
Fri Sep 3 12:55:30 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
======================================================================
ERROR: test_create_groups_metadata (test_comps.TestComps)
- ----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jdob/code/pulp/test/unit/test_comps.py", line 93, in
test_create_groups_metadata
self.rapi.add_package_to_group(repo["id"], pkg_group["id"],
"test_package_name")
AttributeError: 'RepoApi' object has no attribute 'add_package_to_group'
- -------------------- >> begin captured logging << --------------------
This might just be a botched git commit, because there's no way for this
test to pass without the add_package_to_group method.
======================================================================
FAIL: test_resync_removes_deleted_package (test_api.TestApi)
- ----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jdob/code/pulp/test/unit/test_api.py", line 623, in
test_resync_removes_deleted_package
self.assertTrue(len(r["packages"]) == 2)
AssertionError:
- -------------------- >> begin captured logging << --------------------
For what it's worth, use self.assertEqual in this case so we can see how
many were actually found.
- --
Jason Dobies
RHCE# 805008743336126
Freenode: jdob
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJMgPBCAAoJEOMmcTqOSQHCVNQH/ieSHEpFRY4jdZl3BK9Lwld4
flrk70hwbferMXZfBFIdxWKjAD97w/W/Ga9bmm5NJy52Ei3Qyf7vMBJ+DN34ZX+a
3XbeQhOGnD8Fvzuh3Xo3nyGzxiKqV4Y2M7UblUiNElo+U41ZLd6QH4SEE1KhVab3
cz5ABrsEZEauoEzN2jfPg2fhLzkZkgZzZ3cmLG1CjaLMRk/RSgpk3cRSMRdiwtKt
64BaejVi3RzW7Xfu+Vq6GaGL+mUg616jjJZLuY83xTheVUFqdiesCZI6OSALy5UN
YcRpydS4YNbWZWlLlhhTOCfFVNCr+x5TeTAa8QXHsnJuZ9KQTzsT1s5NRZ85v68=
=mtsg
-----END PGP SIGNATURE-----
More information about the Pulp-list
mailing list