Commit ccb9c723 by Alex Gaynor

Added another test

parent 54629b2c
......@@ -42,6 +42,9 @@ class AddTagTestCase(BaseTaggingTest):
apple.tags.add(tag)
self.assert_tags_equal(apple.tags.all(), ["red", "delicious"])
apple.delete()
self.assert_tags_equal(Food.tags.all(), ["green"])
class LookupByTagTestCase(BaseTaggingTest):
def test_lookup_by_tag(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment