def METHOD_NAME(self):
    self.login_as(self.user)
    data = {
        'repo_id': self.repo_id,
        'path': self.folder_path,
    }
    resp = self.client.post(self.url, data)
    self.assertEqual(200, resp.status_code)
    assert is_file_starred(self.user_name, self.repo_id, self.folder_path) is True