Closed Bug 802559 Opened 12 years ago Closed 11 years ago

AssertionError: -3 != 0 in mkt.api.tests.test_handlers.TestAppCreateHandler

Categories

(Marketplace Graveyard :: Code Quality, defect, P3)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: tarek, Assigned: ashort)

References

Details

(Whiteboard: p=1)

FAIL: test_imageassets (zamboni.mkt.api.tests.test_handlers.TestAppCreateHandler)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/marketplace/zamboni/vendor/lib/python/mock.py", line 1224, in patched
    return func(*args, **keywargs)
  File "/home/marketplace/zamboni/../zamboni/mkt/api/tests/test_handlers.py", line 235, in test_imageassets
    eq_(ImageAsset.objects.count() - len(APP_IMAGE_SIZES), asset_count)
AssertionError: -3 != 0
Tarek said this was due to missing paths. Would be nice to create those if they aren't there so this doesn't fail.
Component: General → Code Quality
Assignee: nobody → ashort
Priority: -- → P3
Whiteboard: p=1
I can't get this to fail; the test seems to create all the paths it needs to access.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.