Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 389631 - dev-python/odfpy-0.9.3 test failure
Summary: dev-python/odfpy-0.9.3 test failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2011-11-05 14:22 UTC by Ian Delaney (RETIRED)
Modified: 2011-12-15 02:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
the build log (odfpy-build.log,6.92 KB, text/plain)
2011-11-05 14:24 UTC, Ian Delaney (RETIRED)
Details
my emerge --info (emerge.info,4.90 KB, text/plain)
2011-11-05 14:24 UTC, Ian Delaney (RETIRED)
Details
ebuild patch (odfpy.patch,453 bytes, patch)
2011-12-02 05:00 UTC, Ian Delaney (RETIRED)
Details | Diff
odfpy-test.patch for files/odfpy-test.patch (odfpy-test.patch,1.04 KB, patch)
2011-12-02 05:03 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Delaney (RETIRED) gentoo-dev 2011-11-05 14:22:23 UTC
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
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2011-11-05 14:24:00 UTC
Created attachment 291751 [details]
the build log
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2011-11-05 14:24:18 UTC
Created attachment 291753 [details]
my emerge --info
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2011-12-02 05:00:35 UTC
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
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2011-12-02 05:03:19 UTC
Created attachment 294475 [details, diff]
odfpy-test.patch for files/odfpy-test.patch
Comment 5 Arfrever Frehtes Taifersar Arahesis 2011-12-06 02:58:15 UTC
I suggest to just disable these 2 tests until upstream developer fixes them.
Comment 6 Mike Gilbert gentoo-dev 2011-12-15 02:31:21 UTC
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.