'Test that posting a bookmark successfully returns newly created data with 201 code.'

def test_post_bookmark_successfully(self):

    response = self.send_post(client=self.client, url=reverse('bookmarks'), data={'usage_id': unicode(self.vertical_3.location)})
    self.assertEqual(response.data['id'], ('%s,%s' % (self.user.username, unicode(self.vertical_3.location))))
    self.assertEqual(response.data['course_id'], self.course_id)
    self.assertEqual(response.data['usage_id'], unicode(self.vertical_3.location))
    self.assertIsNotNone(response.data['created'])
    self.assertEqual(len(response.data['path']), 2)
    self.assertEqual(response.data['display_name'], self.vertical_3.display_name)
