rohitjain-rj / django-tagging

Automatically exported from code.google.com/p/django-tagging
Other
0 stars 0 forks source link

Extended test case for issue #28 (tests included for 0.3 and 0.4) #229

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I had lots of problems with disappearing tags with django-tagging 0.3, which 
after researching, 
stemmed from the TagField caching issue (#28).

The patch for #28 was committed for 0.4pre and solved the problem I encountered 
, as long as 
one reloads the object being tagged between loading the object, adding tags and 
saving the 
object.

For my own purposes, I created a test case that fails in 0.3 and passes in 0.4 
so as to make sure 
my buildout with django-tagging 0.3 + applied patch for #28 works properly in 
this regard.

I've adapted it to fit within the django-tagging test suite but I'm not sure it 
adds any test 
coverage to the tests included with the patch for #28. Take it for what it's 
worth and if you'd like 
me to change anything, let me know!

Thanks!

Original issue reported on code.google.com by jonasnoc...@gmail.com on 7 Dec 2009 at 3:29

Attachments: