Use plain unittest instead of nose, use desktopcouch test idioms, make `setup.py test` work

Bug #672273 reported by Jason Gerard DeRose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dmedia
Fix Released
Critical
Jason Gerard DeRose

Bug Description

My initial dmedia development was a quick proof of concept, so I used nosetests because they are a bit quicker to write.

Longterm using pure unittest, doctest is a much better approach, so I want to switch ASAP. It's also a perfect opportunity to use the desktopcouch test idioms (thanks Chad Miller).

Tags: feature

Related branches

Changed in dmedia:
status: New → Triaged
assignee: nobody → Jason Gerard DeRose (jderose)
importance: Undecided → Critical
milestone: none → 0.1
Changed in dmedia:
status: Triaged → Fix Committed
Changed in dmedia:
status: Fix Committed → Fix Released
Changed in dmedia:
status: Fix Released → Fix Committed
Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) wrote :

Are all the activities fixed? `setup.py test` still fails

Revision history for this message
Jason Gerard DeRose (jderose) wrote : Re: [Bug 672273] Re: Use plain unittest instead of nose, use desktopcouch test idioms, make `setup.py test` work

Yes, the tests should all be passing, I don't merge to trunk if any
tests fail. It's just missing dependencies. From debian/control:

Depends: ${misc:Depends}, ${python:Depends},
python-desktopcouch-records, totem, libimage-exiftool-perl,
python-genshi, python-webkit, python-paste

The `totem` and `libimage-exiftool-perl` dependencies I want to drop
soon, they just provided a quick way to get things working for UDS
proof-of-concept.

Totem will be dropped in 0.2 because I will switch to some GStreamer
pipelines for meta-data extraction and thumbnail generation.

libimage-exiftool-perl will be a bit trickier because the right way to
do it is to write Python bindings to libexif.

On Sat, Nov 20, 2010 at 7:15 AM, Manish Sinha <email address hidden> wrote:
> Are all the activities fixed? `setup.py test` still fails
>
> --
> Use plain unittest instead of nose, use desktopcouch test idioms, make `setup.py test` work
> https://bugs.launchpad.net/bugs/672273
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Changed in dmedia:
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.