pculture/miro — pull request #282 by bendk (2012-03-21 16:23:44+00:00)
Title: bz18882: fix unittests when mutagen returns a slightly different duratio...

...n.

- Use assertDictEquals in filetagstest. This outputs better messages if the
comparison fails.
- Added a assertClose() method to test if 2 values are near each other.
There's a assertNearlyEqual method from UnitTest, but that one didn't do
what we wanted.
- Use assertClose() to compare durations from mutagen.
- While we're at it, use assertClose() to test preallocation code.