Skip to content

Commit

Permalink
Default WAPI version update (#189)
Browse files Browse the repository at this point in the history
* updates default WAPI version from 1.4 to 2.1

* updates tests/test_connector.py WAPI version
  • Loading branch information
brampling authored and jkraj committed Mar 27, 2018
1 parent e5b4788 commit 4ee4297
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion infoblox_client/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class Connector(object):
'http_pool_connections': 10,
'http_pool_maxsize': 10,
'max_retries': 3,
'wapi_version': '1.4',
'wapi_version': '2.1',
'max_results': None,
'log_api_calls_as_info': False,
'paging': False}
Expand Down
2 changes: 1 addition & 1 deletion tests/test_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ def test_default_options(self):
self.assertEqual(10, conn.http_pool_connections)
self.assertEqual(10, conn.http_pool_maxsize)
self.assertEqual(3, conn.max_retries)
self.assertEqual('1.4', conn.wapi_version)
self.assertEqual('2.1', conn.wapi_version)
self.assertEqual(None, conn.max_results)

def test_blank_values_not_allowed(self):
Expand Down

0 comments on commit 4ee4297

Please sign in to comment.