From 660d2ea287fa7569655e018e998203cbd8ee1802 Mon Sep 17 00:00:00 2001 From: Rusty Brooks Date: Thu, 5 Dec 2019 14:32:14 -0600 Subject: [PATCH] Update version to 1.5.5 --- 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 dba0fa0..33f4692 100755 --- a/OTXv2.py +++ b/OTXv2.py @@ -95,7 +95,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.4'.format(project), + 'User-Agent': user_agent or 'OTX Python {}/1.5.5'.format(project), 'Content-Type': 'application/json' } diff --git a/setup.py b/setup.py index c5b20a7..458af76 100644 --- a/setup.py +++ b/setup.py @@ -5,12 +5,12 @@ from setuptools import setup setup( name='OTXv2', - version='1.5.4', + version='1.5.5', 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.4', + download_url='https://github.com/AlienVault-Labs/OTX-Python-SDK/tarball/1.5.5', 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 dc60765..d13e70a 100755 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -678,7 +678,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.4') + self.assertEqual(o.headers['User-Agent'], 'OTX Python foo/1.5.5') o = OTXv2(self.api_key, server=ALIEN_DEV_SERVER, user_agent='foo') self.assertEqual(o.headers['User-Agent'], 'foo')