Advertisement
praveen97uma

Error_test_tags

Mar 26th, 2011
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.87 KB | None | 0 0
  1. praveen@Z560:~/melange$ bin/run-tests tests/app/soc/logic/test_tags.py
  2. .E.
  3. ======================================================================
  4. ERROR: Asserts if the given tags are removed from the entity attributes
  5. ----------------------------------------------------------------------
  6. Traceback (most recent call last):
  7.   File "/home/praveen/melange/tests/app/soc/logic/test_tags.py", line 51, in testRemoveTagsForEntity
  8.     self.tags_service.removeTagsForEntity(self.entity,TagsToRemove)
  9.   File "/home/praveen/melange/build/soc/logic/tags.py", line 88, in removeTagsForEntity
  10.     cls = entity.tags_class(tag_name)
  11.   File "/home/praveen/melange/build/taggable/taggable.py", line 362, in tags_class
  12.     return self._tag_model[tag_name]
  13. KeyError: 'test_tag1'
  14.  
  15. ----------------------------------------------------------------------
  16. Ran 3 tests in 1.997s
  17.  
  18. FAILED (errors=1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement