Testing upstream packages for python Reproducible: Always Steps to Reproduce: 1. Acquire package 2. Prepare ebuild 3. set test, emerge package Actual Results: ERROR: testAttributeForeign (__main__.TestQattributes) Test that you can add foreign attributes ValueError: substring not found
Created attachment 291751 [details] the build log
Created attachment 291753 [details] my emerge --info
Created attachment 294473 [details, diff] ebuild patch fixing my own work. This was sloppy of the makers of the test. 2 separate flaws. First, using a nonsense name foreignuri.com drew error, replaced with a real uri and it works. Second, oh my. tried a number of things then realised the pattern of the test didn't reflect the other three. Just read. Made it match, and voila. Running teststyles.py... ....... ---------------------------------------------------------------------- Ran 7 tests in 0.003s OK Running testxmlgen.py... .... ---------------------------------------------------------------------- Ran 4 tests in 0.003s OK
Created attachment 294475 [details, diff] odfpy-test.patch for files/odfpy-test.patch
I suggest to just disable these 2 tests until upstream developer fixes them.
Should be fixed. *odfpy-0.9.4 (15 Dec 2011) 15 Dec 2011; Mike Gilbert <floppym@gentoo.org> +files/odfpy-0.9.4-tests.patch, +odfpy-0.9.4.ebuild: Version bump based on work by Arfrever in Progress overlay. Resolves bug 389631 by Ian Delaney.