python{3}-authres broken due to missing file

Bug #999468 reported by Scott Kitterman
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
authres (Ubuntu)
Fix Released
Undecided
Unassigned
Precise
Fix Released
High
Scott Kitterman

Bug Description

The authres module runs its doctests when imported. Unfortunately a file that holds most of the tests was omitted from the package, so the tests file when the file is not found. This only applies to precise. It is N/A for previous releases and already fixed in quantal.

TEST CASE: install python-authres and python3-authres.

Run the python (and separately python3) interpreter. Type 'import authres'. With the current package you'll get an Python traceback that ends with:

IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/authres/tests'

Install the updated packages and rerun the test. Now there should be no error. Like this:

>>> import authres
>>>

Changed in authres (Ubuntu):
status: New → Fix Released
Changed in authres (Ubuntu Precise):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Scott Kitterman (kitterman)
milestone: none → ubuntu-12.04.1
Revision history for this message
Scott Kitterman (kitterman) wrote :

Fixed package uploaded and waiting for ubuntu-sru to review/accept.

Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello Scott, or anyone else affected,

Accepted authres into precise-proposed. The package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in authres (Ubuntu Precise):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Scott Kitterman (kitterman) wrote :

Verified the -proposed packages work correctly now per the test case.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package authres - 0.401-1ubuntu0.1

---------------
authres (0.401-1ubuntu0.1) precise-proposed; urgency=low

  * Install authres/tests so doctests work with installed pacakges
    (LP: #999468)
 -- Scott Kitterman <email address hidden> Sun, 13 May 2012 14:10:46 -0400

Changed in authres (Ubuntu Precise):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.