'Test that an anonymous client (not logged in) cannot call GET or POST.'

def test_anonymous_access(self):

    query_parameters = 'course_id={}'.format(self.course_id)
    self.send_get(client=self.anonymous_client, url=reverse('bookmarks'), query_parameters=query_parameters, expected_status=401)
    self.send_post(client=self.anonymous_client, url=reverse('bookmarks'), data={'usage_id': 'test'}, expected_status=401)
