'Test that POST and PUT are not supported.'

def test_unsupported_methods(self):

    url = reverse('bookmarks_detail', kwargs={'username': self.user.username, 'usage_id': 'i4x'})
    self.client.login(username=self.user.username, password=self.TEST_PASSWORD)
    self.assertEqual(405, self.client.put(url).status_code)
    self.assertEqual(405, self.client.post(url).status_code)
