def METHOD_NAME(self):
    # delete a file first
    seafile_api.del_file(self.repo_id, '/',
                         json.dumps([self.file_name]),
                         self.user_name)
    self.login_as(self.user)
    resp = self.client.get(self.url)
    self.assertEqual(200, resp.status_code)
    json_resp = json.loads(resp.content)
    assert json_resp['data'][0]['obj_name'] == self.file_name
    assert json_resp['data'][0]['is_dir'] == False