Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

Commit

Permalink
Testing build for 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
bartbroere committed Jul 18, 2017
1 parent f1647e4 commit b87f060
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: python
python:
- "2.7"
- "3.5"
- "3.6"
install: "pip install pycryptodome requests"
Expand Down
2 changes: 1 addition & 1 deletion bunqclient/bunqdefault.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def hierarchy():

def headers():
return {"Cache-Control": "no-cache",
"User-Agent": "bunqclient 2017.7.17",
"User-Agent": "bunqclient 2017.7.18",
"X-Bunq-Geolocation": "0 0 0 0 000",
"X-Bunq-Language": "en_US",
"X-Bunq-Region": "nl_NL"}
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def readme():

setup(
name='bunqclient',
version='2017.7.17',
version='2017.7.18',
description='Python client for the bunq public API',
long_description=readme(),
keywords=["bunq", "client", "bank", "api", "bunqclient"],
Expand All @@ -16,11 +16,13 @@ def readme():
author='Bart Broere',
author_email='mail@bartbroere.eu',
install_requires=['requests', 'pycryptodome'],
python_requires='>=3.5',
python_requires='>=2.7,>=3.5',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
Expand Down
3 changes: 3 additions & 0 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ def test_prepare(self):
"https://api.bunq.com/v1/user/1/monetary-account")

def test_request(self):
bunq = BunqClient()
self.assertEqual("", "")

def test_init(self):
bunq = BunqClient()
self.assertEqual("", "")

def test_sign(self):
bunq = BunqClient()
self.assertEqual("", "")

if __name__ == "__main__":
Expand Down

0 comments on commit b87f060

Please sign in to comment.