We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24cf756 commit 329473fCopy full SHA for 329473f
pymango/tests/tests_resources.py
@@ -174,8 +174,8 @@ def test_cards_update():
174
@raises(mango.error.NotFound)
175
def test_cards_delete():
176
"""Should delete a Card"""
177
- card_uid = mango.Cards.get(mango.Cards.list()[0].get("uid"))
178
- ok_(mango.Cards.delete(card_uid))
+ card_uid = mango.Cards.get(mango.Cards.list()[0].get("uid")).get("uid")
+ eq_(True, mango.Cards.delete(card_uid))
179
mango.Cards.get(card_uid)
180
181
0 commit comments