Opened 15 years ago

Last modified 15 years ago

#245 closed defect (FIXED)

Tests failing for me in master

Reported by: Christopher Allan Webber Owned by: Christopher Allan Webber
Priority: minor Milestone: 0.1.0
Component: programming Keywords:
Cc: Parent Tickets:

Description

Not sure when this started happening:

...........................E..................
======================================================================
ERROR: mediagoblin.tests.test_submission.TestSubmission.test_delete
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/cwebber/devel/mediagoblin/eggs/nose-1.1.2-py2.6.egg/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/cwebber/devel/mediagoblin/mediagoblin/tests/test_submission.py", line 188, in test_delete
    media = request.db.MediaEntry.find({'title': 'Balanced Goblin'})[0]
  File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 388, in __getitem__
    raise IndexError("no such item for Cursor instance")
IndexError: no such item for Cursor instance

Change History (2)

comment:1 by Christopher Allan Webber, 15 years ago

Component: Programming
Milestone: 0.1.0
Owner: set to Christopher Webber
Status: NewClosed

I see. We changed the delete confirm widget type but didn't update the tests appropriately. Fixed in master.

comment:2 by Will Kahn-Greene, 14 years ago

The original url for this bug was http://bugs.foocorp.net/issues/574 .

Note: See TracTickets for help on using tickets.