def METHOD_NAME(self):
    unzip_url = "/hsapi/resource/%s/functions/unzip/foo/test.zip/" % self.pid
    response = self.client.post(unzip_url, data={"remove_original_zip": "false"})
    self.assertEqual(response.status_code, status.HTTP_200_OK)
    unzip_url = "/hsapi/resource/%s/functions/unzip/foo/test.zip/" % self.pid
    response = self.client.post(unzip_url, data={"overwrite": "true"})
    self.assertEqual(response.status_code, status.HTTP_200_OK)
    # extra folder named as test should not exist
    list_url = "/hsapi/resource/%s/folders/foo/test/" % self.pid
    response = self.client.get(list_url, data={})
    self.assertEqual(response.status_code, status.HTTP_404_NOT_FOUND)
    # overwrite shouldn't write to a new folder
    list_url = "/hsapi/resource/%s/folders/foo/test-1/" % self.pid
    response = self.client.get(list_url, data={})
    self.assertEqual(response.status_code, status.HTTP_404_NOT_FOUND)