pyruntest is missing a Depends on python-testtools

Bug #1155232 reported by Mathieu Trudel-Lapierre
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyruntest (Ubuntu)
Fix Released
High
Timo Jyrinki

Bug Description

After just installing python-pyruntest, I can't immediately get to use it; it fails with an ImportError:

mtrudel@selene ~/Public/upstream/results % pyruntest --help
Traceback (most recent call last):
  File "/usr/bin/pyruntest", line 18, in <module>
    from testtools import iterate_tests
ImportError: No module named testtools

1 mtrudel@selene ~/Public/upstream/results % sudo apt-get install python-testtools
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les paquets supplémentaires suivants seront installés :
  python-fixtures
Paquets suggérés :
  python-twisted
Les NOUVEAUX paquets suivants seront installés :
  python-fixtures python-testtools
0 mis à jour, 2 nouvellement installés, 0 à enlever et 107 non mis à jour.
Il est nécessaire de prendre 351 ko dans les archives.
Après cette opération, 1 583 ko d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer [O/n] ?
Réception de : 1 http://mirror.clibre.uqam.ca/ubuntu/ raring/main python-testtools all 0.9.24-0ubuntu2 [313 kB]
Réception de : 2 http://mirror.clibre.uqam.ca/ubuntu/ raring/main python-fixtures all 0.3.12-0ubuntu2 [38,1 kB]
351 ko réceptionnés en 0s (1 026 ko/s)
Sélection du paquet python-testtools précédemment désélectionné.
(Lecture de la base de données... 279922 fichiers et répertoires déjà installés.)
Dépaquetage de python-testtools (à partir de .../python-testtools_0.9.24-0ubuntu2_all.deb) ...
Sélection du paquet python-fixtures précédemment désélectionné.
Dépaquetage de python-fixtures (à partir de .../python-fixtures_0.3.12-0ubuntu2_all.deb) ...
Paramétrage de python-testtools (0.9.24-0ubuntu2) ...
Paramétrage de python-fixtures (0.3.12-0ubuntu2) ...

mtrudel@selene ~/Public/upstream/results % pyruntest --help
usage: pyruntest [-h] [-f {text}] [-fo FORMATTED_OUTPUT] [-o OUTPUT]
                 suite [suite ...]

A simple unit-test runner that 'Just Works' for the most common use cases.

positional arguments:
  suite Specify test suite(s) to run.

optional arguments:
  -h, --help show this help message and exit
  -f {text}, --format {text}
                        Specify what format the test results should be
                        presented in.
  -fo FORMATTED_OUTPUT, --formatted-output FORMATTED_OUTPUT
                        Specify where formatted output (e.g. xml) should go.
                        If left unspecified, stdout is used.
  -o OUTPUT, --output OUTPUT
                        Specify the location where test output should go. If
                        left unspecified, stdout is used.

Related branches

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Setting to High as this actually affects the usefulness of the tool directly.

Changed in pyruntest (Ubuntu):
importance: Undecided → High
Changed in pyruntest (Ubuntu):
assignee: nobody → Timo Jyrinki (timo-jyrinki)
status: New → In Progress
Changed in pyruntest (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pyruntest - 0.1+13.10.20130702-0ubuntu1

---------------
pyruntest (0.1+13.10.20130702-0ubuntu1) saucy; urgency=low

  [ Timo Jyrinki ]
  * Depend on python-testtools (LP: #1155232). (LP: #1155232)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 17
 -- Ubuntu daily release <email address hidden> Tue, 02 Jul 2013 00:01:06 +0000

Changed in pyruntest (Ubuntu):
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.