Skip to content

Instantly share code, notes, and snippets.

@siedentop
Created May 26, 2010 10:51
Show Gist options
  • Save siedentop/414339 to your computer and use it in GitHub Desktop.
Save siedentop/414339 to your computer and use it in GitHub Desktop.
def test_get_tags(self):
self.blob_with_tags = Blob.objects.create(caption="Hello", slug='foo', tags="ab")
self.failUnlessEqual(self.blob_with_tags.get_tags(), [Tag(name="ab")]) #BUG FIXME
=============================
======================================================================
FAIL: test_get_tags (blobs.tests.BlobTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chris/devel/assistant/blobs/tests.py", line 34, in test_get_tags
self.failUnlessEqual(self.blob_with_tags.get_tags(), [Tag(name="ab")]) #BUG FIXME
AssertionError: [<Tag: ab>] != [<Tag: ab>]
----------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment