toastdriven/django-tastypie — pull request #658 by maraujop (2012-09-07 09:28:35+00:00)
Title: Adding tests for obj_update with identifiers

Adding tests for exercising `obj_update` when grabbing an object using its uri identifiers.

These lines cover this special case and there is no test case for them currently. If you comment out those lines and run the whole Tastypie's test suite, it will pass.

This tests will help refactoring `obj_update` to avoid side effects that prevent calling `full_hydrate` several times without performance hit. Related to #390

Cheers,
Miguel