Skip to content

Commit d6c4ff4

Browse files
garg-muditroot
and
root
authored
Version 3.25.2 release (#183)
* Version 3.25.2-v2.1-23.3.01.02 release * Updated setup.py Signed-off-by: Mudit Garg <35302867+garg-mudit@users.noreply.github.com> * Update CHANGELOG.md Signed-off-by: Mudit Garg <35302867+garg-mudit@users.noreply.github.com> --------- Signed-off-by: Mudit Garg <35302867+garg-mudit@users.noreply.github.com> Co-authored-by: root <root@devcenteradmin.docusigntest.com>
1 parent 573d489 commit d6c4ff4

File tree

3 files changed

+54
-49
lines changed

3 files changed

+54
-49
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file.
33

44
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.
55

6+
## [v3.25.2] - eSignature API v2.1-23.3.01.02 - 2023-12-15
7+
### Changed
8+
- Added support for version v2.1-23.3.01.02 of the DocuSign ESignature API.
9+
- Updated the SDK release version.
10+
611
## [v3.25.1] - eSignature API v2.1-23.3.01.02 - 2023-12-14
712
### Changed
813
- Added support for version v2.1-23.3.01.02 of the DocuSign ESignature API.

setup.py

+48-48
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# coding: utf-8
2-
1+
# coding: utf-8
2+
33
"""
44
DocuSign REST API
55
@@ -9,49 +9,49 @@
99
Contact: devcenter@docusign.com
1010
Generated by: https://github.com/swagger-api/swagger-codegen.git
1111
"""
12-
13-
14-
from setuptools import setup, find_packages, Command, os # noqa: H301
15-
16-
NAME = "docusign-esign"
17-
VERSION = "3.25.1"
18-
# To install the library, run the following
19-
#
20-
# python setup.py install
21-
#
22-
# prerequisite: setuptools
23-
# http://pypi.python.org/pypi/setuptools
24-
25-
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"]
26-
27-
class CleanCommand(Command):
28-
"""Custom clean command to tidy up the project root."""
29-
user_options = []
30-
def initialize_options(self):
31-
pass
32-
def finalize_options(self):
33-
pass
34-
def run(self):
35-
os.system('rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info')
36-
37-
this_directory = os.path.abspath(os.path.dirname(__file__))
38-
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
39-
long_description = f.read()
40-
41-
42-
setup(
43-
name=NAME,
44-
version=VERSION,
45-
description="DocuSign REST API",
46-
author_email="devcenter@docusign.com",
47-
url="",
48-
keywords=["Swagger", "DocuSign REST API"],
49-
install_requires=REQUIRES,
50-
packages=find_packages(),
51-
include_package_data=True,
52-
cmdclass={
53-
'clean': CleanCommand,
54-
},
55-
long_description=long_description,
56-
long_description_content_type='text/markdown'
57-
)
12+
13+
14+
from setuptools import setup, find_packages, Command, os # noqa: H301
15+
16+
NAME = "docusign-esign"
17+
VERSION = "3.25.2"
18+
# To install the library, run the following
19+
#
20+
# python setup.py install
21+
#
22+
# prerequisite: setuptools
23+
# http://pypi.python.org/pypi/setuptools
24+
25+
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"]
26+
27+
class CleanCommand(Command):
28+
"""Custom clean command to tidy up the project root."""
29+
user_options = []
30+
def initialize_options(self):
31+
pass
32+
def finalize_options(self):
33+
pass
34+
def run(self):
35+
os.system('rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info')
36+
37+
this_directory = os.path.abspath(os.path.dirname(__file__))
38+
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
39+
long_description = f.read()
40+
41+
42+
setup(
43+
name=NAME,
44+
version=VERSION,
45+
description="DocuSign REST API",
46+
author_email="devcenter@docusign.com",
47+
url="",
48+
keywords=["Swagger", "DocuSign REST API"],
49+
install_requires=REQUIRES,
50+
packages=find_packages(),
51+
include_package_data=True,
52+
cmdclass={
53+
'clean': CleanCommand,
54+
},
55+
long_description=long_description,
56+
long_description_content_type='text/markdown'
57+
)

test/unit_tests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ def testTemplateDocumentTabsRetrieval(self):
883883
template_documents_list_result = templates_api.list_documents(self.user_info.accounts[0].account_id, template_id)
884884

885885
# Check if there are no documents within the template
886-
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
886+
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
887887
assert has_template_documents, 'No document found within created template'
888888

889889
document_id = template_documents_list_result.template_documents[0].document_id

0 commit comments

Comments
 (0)