dep8 test: missing dependency on python3-mock

Bug #1021732 reported by Jean-Baptiste Lallement on 2012-07-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)

Bug Description

Auto package test of update-manager [1] fails with

ERROR: Failure: ImportError (No module named mock)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/", line 37, in runTest
    raise self.exc_class(self.exc_val).with_traceback(self.tb)
  File "/usr/lib/python3/dist-packages/nose/", line 390, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python3/dist-packages/nose/", line 39, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python3/dist-packages/nose/", line 86, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/tmp/tmp.cDYH0evFjz/dsc0-build/update-manager-0.165/tests/", line 8, in <module>
    from mock import Mock
ImportError: No module named mock

python3-mock should be part of the package or test dependencies


ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: update-manager 1:0.165
ProcVersionSignature: Ubuntu 3.5.0-2.2-generic 3.5.0-rc4
Uname: Linux 3.5.0-2-generic x86_64
ApportVersion: 2.2.5-0ubuntu2
Architecture: amd64
Date: Fri Jul 6 16:01:16 2012
PackageArchitecture: all
 PATH=(custom, user)
SourcePackage: update-manager
UpgradeStatus: Upgraded to quantal on 2012-01-31 (156 days ago)

Jean-Baptiste Lallement (jibel) wrote :
Changed in update-manager (Ubuntu):
importance: Undecided → High
Jean-Baptiste Lallement (jibel) wrote :

Closing. It is fixed.

Changed in update-manager (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers