From 8ddb986490d2d34d949efee6f81b32799c6077aa Mon Sep 17 00:00:00 2001 From: Rusty Brooks Date: Mon, 19 Aug 2019 19:21:44 -0500 Subject: [PATCH] Set current version to 1.5.3 --- OTXv2.py | 2 +- setup.py | 4 ++-- tests/test_client.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/OTXv2.py b/OTXv2.py index 359aedc..1deddf6 100755 --- a/OTXv2.py +++ b/OTXv2.py @@ -94,7 +94,7 @@ class OTXv2(object): self.request_session = None self.headers = { 'X-OTX-API-KEY': self.key, - 'User-Agent': user_agent or 'OTX Python {}/1.5.2'.format(project), + 'User-Agent': user_agent or 'OTX Python {}/1.5.3'.format(project), 'Content-Type': 'application/json' } diff --git a/setup.py b/setup.py index e2144ff..a5f48c6 100644 --- a/setup.py +++ b/setup.py @@ -5,12 +5,12 @@ from setuptools import setup setup( name='OTXv2', - version='1.5.2', + version='1.5.3', description='AlienVault OTX API', author='AlienVault Team', author_email='otx@alienvault.com', url='https://github.com/AlienVault-Labs/OTX-Python-SDK', - download_url='https://github.com/AlienVault-Labs/OTX-Python-SDK/tarball/1.5.2', + download_url='https://github.com/AlienVault-Labs/OTX-Python-SDK/tarball/1.5.3', py_modules=['OTXv2', 'IndicatorTypes','patch_pulse'], install_requires=['requests', 'python-dateutil', 'pytz'] ) diff --git a/tests/test_client.py b/tests/test_client.py index a79cfee..8eb29b9 100755 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -543,7 +543,7 @@ class TestRequests(TestOTXv2): def test_user_agent(self): o = OTXv2(self.api_key, server=ALIEN_DEV_SERVER, project='foo') - self.assertEqual(o.headers['User-Agent'], 'OTX Python foo/1.5.2') + self.assertEqual(o.headers['User-Agent'], 'OTX Python foo/1.5.3') o = OTXv2(self.api_key, server=ALIEN_DEV_SERVER, user_agent='foo') self.assertEqual(o.headers['User-Agent'], 'foo')