def METHOD_NAME(self):
    self.login_as(self.user)
    para = '?repo_id=%s&path=%s&is_dir=true' % (self.repo_id, self.folder_path)
    resp = self.client.get(self.url + para)
    self.assertEqual(200, resp.status_code)
    json_resp = json.loads(resp.content)
    assert json_resp['smart_link'] is not None
    assert json_resp['smart_link_token'] is not None