[MIR] mocker

Bug #621242 reported by Natalia Bidart
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mocker (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Unassigned

Bug Description

* Availability: The package is already in the universe/python section since
Maverick.

* Rationale: This package is used for running the test suites for
ubuntu-sso-client. Also, this package provides en excellent mocker utility to
build test cases in Python. Mocker will also be required for running test suites in several other Ubuntu One packages, as we migrate away from having a duplicate copy everywhere.

* Security: No security issues.

* Quality assurance: the package provides a python module that is easily usable
by "import mocker". This project as only 2 open bugs.

* UI standards: no UI in this package.

* Dependencies: no dependencies other than Python.

* Standards compliance: meet the FHS and Debian Policy standards.

* Maintenance: the package consist of a single python module. The maintainer
already is Ubuntu Developers, so no extra work in this area. The module is very stable and requires very little maintanence. It also already has the test suite running during package build, to prevent regressions.

* Background information: Mocker is a graceful platform for test doubles in
Python (mocks, stubs, fakes, and dummies).

Related branches

description: updated
dobey (dobey)
description: updated
summary: - [MIR] moker
+ [MIR] mocker
Revision history for this message
Alexander Sack (asac) wrote :

why do we need this in main? are you planning to add this to a seed? which seed?

Changed in mocker (Ubuntu):
assignee: nobody → Alexander Sack (asac)
status: New → Incomplete
Revision history for this message
dobey (dobey) wrote :

I don't know where it fits in for seeds, but the idea is that this should go into main, so that we can run unit tests on some of our projects during the package building. It should go in the same place in main that inltool and similar build-only dependencies are, I suspect.

Revision history for this message
Natalia Bidart (nataliabidart) wrote :

Hi Alexander!

Thanks for taking the time on looking into this. At first we're not planning on adding this to a seed.

We need this package to be included since it's used by at least two packages that are already included in main:

* ubuntu-sso-client
* ubuntuone-client

The mocker module is used to run the test suites, and we're hoping to add the execution of the test suites at package build time.

Changed in mocker (Ubuntu):
status: Incomplete → New
Revision history for this message
Natalia Bidart (nataliabidart) wrote :

Hi Alexander,

Any news regarding this matter? Thanks!

Revision history for this message
Matthias Klose (doko) wrote :

needed by ubuntuone-couch now. package looks ok, but needs to use dh_python2

(not for oneiric: please provide a python3-* package too).

Changed in mocker (Ubuntu):
assignee: Alexander Sack (asac) → nobody
importance: Undecided → High
milestone: none → ubuntu-11.10-beta-2
status: New → Incomplete
Revision history for this message
Barry Warsaw (barry) wrote :

Branch and merge proposal added to switch the package to dh_python2 and drop cdbs. Even if the MIR isn't granted, you should still apply this change. :)

Changed in mocker (Ubuntu Oneiric):
status: Incomplete → Confirmed
status: Confirmed → New
Revision history for this message
Natalia Bidart (nataliabidart) wrote :

Thanks Barry for the branch!

Revision history for this message
Barry Warsaw (barry) wrote : Re: [Bug 621242] Re: [MIR] mocker

On Sep 09, 2011, at 02:50 PM, Natalia Bidart wrote:

>Thanks Barry for the branch!

Pushed and uploaded. :)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mocker - 1.0-0ubuntu2

---------------
mocker (1.0-0ubuntu2) oneiric; urgency=low

  * Convert to dh_python2 and eliminate cdbs. (LP: #621242)
 -- Barry Warsaw <email address hidden> Fri, 09 Sep 2011 10:26:08 -0400

Changed in mocker (Ubuntu Oneiric):
status: New → Fix Released
Matthias Klose (doko)
Changed in mocker (Ubuntu Oneiric):
status: Fix Released → Confirmed
Revision history for this message
Matthias Klose (doko) wrote :

2011-09-10 09:09:09 INFO Override Component to: 'main'
2011-09-10 09:09:10 INFO 'mocker - 1.0-0ubuntu2/universe/python' source overridden
2011-09-10 09:09:10 INFO 'python-mocker-1.0-0ubuntu2/universe/python/OPTIONAL' binary overridden in oneiric/amd64
2011-09-10 09:09:10 INFO 'python-mocker-1.0-0ubuntu2/universe/python/OPTIONAL' binary overridden in oneiric/armel
2011-09-10 09:09:10 INFO 'python-mocker-1.0-0ubuntu2/universe/python/OPTIONAL' binary overridden in oneiric/i386
2011-09-10 09:09:10 INFO 'python-mocker-1.0-0ubuntu2/universe/python/OPTIONAL' binary overridden in oneiric/powerpc

Changed in mocker (Ubuntu Oneiric):
status: Confirmed → 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.