diff --git a/CHANGELOG.md b/CHANGELOG.md index ad976f71..965de280 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file. See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes. +## [v3.25.2] - eSignature API v2.1-23.3.01.02 - 2023-12-15 +### Changed +- Added support for version v2.1-23.3.01.02 of the DocuSign ESignature API. +- Updated the SDK release version. + ## [v3.25.1] - eSignature API v2.1-23.3.01.02 - 2023-12-14 ### Changed - Added support for version v2.1-23.3.01.02 of the DocuSign ESignature API. diff --git a/setup.py b/setup.py index 16f99cbb..a5f7bc4f 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ -# coding: utf-8 - +# coding: utf-8 + """ DocuSign REST API @@ -9,49 +9,49 @@ Contact: devcenter@docusign.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ - - -from setuptools import setup, find_packages, Command, os # noqa: H301 - -NAME = "docusign-esign" -VERSION = "3.25.1" -# To install the library, run the following -# -# python setup.py install -# -# prerequisite: setuptools -# http://pypi.python.org/pypi/setuptools - -REQUIRES = ["urllib3 >= 1.15", "six >= 1.8.0", "certifi >= 14.05.14", "python-dateutil >= 2.5.3", "setuptools >= 21.0.0", "PyJWT>=1.7.1", "cryptography>=2.5", "nose>=1.3.7"] - -class CleanCommand(Command): - """Custom clean command to tidy up the project root.""" - user_options = [] - def initialize_options(self): - pass - def finalize_options(self): - pass - def run(self): - os.system('rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info') - -this_directory = os.path.abspath(os.path.dirname(__file__)) -with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f: - long_description = f.read() - - -setup( - name=NAME, - version=VERSION, - description="DocuSign REST API", - author_email="devcenter@docusign.com", - url="", - keywords=["Swagger", "DocuSign REST API"], - install_requires=REQUIRES, - packages=find_packages(), - include_package_data=True, - cmdclass={ - 'clean': CleanCommand, - }, - long_description=long_description, - long_description_content_type='text/markdown' -) + + +from setuptools import setup, find_packages, Command, os # noqa: H301 + +NAME = "docusign-esign" +VERSION = "3.25.2" +# To install the library, run the following +# +# python setup.py install +# +# prerequisite: setuptools +# http://pypi.python.org/pypi/setuptools + +REQUIRES = ["urllib3 >= 1.15", "six >= 1.8.0", "certifi >= 14.05.14", "python-dateutil >= 2.5.3", "setuptools >= 21.0.0", "PyJWT>=1.7.1", "cryptography>=2.5", "nose>=1.3.7"] + +class CleanCommand(Command): + """Custom clean command to tidy up the project root.""" + user_options = [] + def initialize_options(self): + pass + def finalize_options(self): + pass + def run(self): + os.system('rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info') + +this_directory = os.path.abspath(os.path.dirname(__file__)) +with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f: + long_description = f.read() + + +setup( + name=NAME, + version=VERSION, + description="DocuSign REST API", + author_email="devcenter@docusign.com", + url="", + keywords=["Swagger", "DocuSign REST API"], + install_requires=REQUIRES, + packages=find_packages(), + include_package_data=True, + cmdclass={ + 'clean': CleanCommand, + }, + long_description=long_description, + long_description_content_type='text/markdown' +) diff --git a/test/unit_tests.py b/test/unit_tests.py index b76925d2..34135a53 100644 --- a/test/unit_tests.py +++ b/test/unit_tests.py @@ -883,7 +883,7 @@ def testTemplateDocumentTabsRetrieval(self): template_documents_list_result = templates_api.list_documents(self.user_info.accounts[0].account_id, template_id) # Check if there are no documents within the template - has_template_documents = template_documents_list_result is None or template_documents_list_result.template_documents is None or len(template_documents_list_result.template_documents) == 0 + has_template_documents = template_documents_list_result is not None and template_documents_list_result.template_documents is not None and len(template_documents_list_result.template_documents) > 0 assert has_template_documents, 'No document found within created template' document_id = template_documents_list_result.template_documents[0].document_id