mirror of
https://github.com/empayre/OTX-Python-SDK.git
synced 2024-11-06 09:55:20 +00:00
Whoops, gotta increase the version number in the tests too
This commit is contained in:
parent
10a0181c54
commit
d9c9b7d4af
@ -615,7 +615,7 @@ class TestRequests(TestOTXv2):
|
|||||||
|
|
||||||
def test_user_agent(self):
|
def test_user_agent(self):
|
||||||
o = OTXv2(self.api_key, server=ALIEN_DEV_SERVER, project='foo')
|
o = OTXv2(self.api_key, server=ALIEN_DEV_SERVER, project='foo')
|
||||||
self.assertEqual(o.headers['User-Agent'], 'OTX Python foo/1.5.3')
|
self.assertEqual(o.headers['User-Agent'], 'OTX Python foo/1.5.4')
|
||||||
|
|
||||||
o = OTXv2(self.api_key, server=ALIEN_DEV_SERVER, user_agent='foo')
|
o = OTXv2(self.api_key, server=ALIEN_DEV_SERVER, user_agent='foo')
|
||||||
self.assertEqual(o.headers['User-Agent'], 'foo')
|
self.assertEqual(o.headers['User-Agent'], 'foo')
|
||||||
|
Loading…
Reference in New Issue
Block a user