Created
May 26, 2010 10:51
-
-
Save siedentop/414339 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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