Update requirements
Change-Id: I9bdc37b3eeb9bb9f6a83f82907e11a00de077517
This commit is contained in:
parent
805e804fad
commit
35f6d24920
@ -19,6 +19,7 @@ from unittest import mock
|
|||||||
from almanachclient import exceptions
|
from almanachclient import exceptions
|
||||||
from almanachclient.tests import base
|
from almanachclient.tests import base
|
||||||
from almanachclient.v1.client import Client
|
from almanachclient.v1.client import Client
|
||||||
|
from almanachclient import version
|
||||||
|
|
||||||
|
|
||||||
class TestClient(base.TestCase):
|
class TestClient(base.TestCase):
|
||||||
@ -30,7 +31,7 @@ class TestClient(base.TestCase):
|
|||||||
self.url = 'http://almanach_url'
|
self.url = 'http://almanach_url'
|
||||||
self.token = 'token'
|
self.token = 'token'
|
||||||
self.headers = {'Content-Type': 'application/json',
|
self.headers = {'Content-Type': 'application/json',
|
||||||
'User-Agent': 'python-almanachclient/0.0.1',
|
'User-Agent': 'python-almanachclient/{}'.format(version.__version__),
|
||||||
'X-Auth-Token': self.token,
|
'X-Auth-Token': self.token,
|
||||||
'Accept': 'application/json'}
|
'Accept': 'application/json'}
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
pip>=7.1.0 # MIT
|
||||||
|
setuptools>=16.0,!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2 # PSF/ZPL
|
||||||
pbr>=2.0.0,!=2.1.0 # Apache-2.0
|
pbr>=2.0.0,!=2.1.0 # Apache-2.0
|
||||||
cliff>=2.6.0 # Apache-2.0
|
cliff>=2.6.0 # Apache-2.0
|
||||||
requests>=2.10.0,!=2.12.2,!=2.13.0 # Apache-2.0
|
requests>=2.10.0,!=2.12.2,!=2.13.0 # Apache-2.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user