Closed treyhunner closed 9 years ago
While trying to test this I discovered that there appears to be a bug in the artists.tests.test_api.SimilarTest
test class because the post_save
and pre_save
aren't being executed at all.
@treyhunner, well spotted. I wasn't checking the status code so it wasn't catching the fact that it was trying to post to a non-existing URL. I took the liberty of updating on your branch here.
I added a couple tests.
Some missing tests/features:
Your first item might be addressed in DRF 3, we should just wait for the upgrade.
On your second item, I'd rather see PUT
removed and the client does a full DELETE
and POST
. It really isn't the same similarity.
Should resolve #25