projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae7a6c9
)
5037: Add test for new PySDK API cache behavior.
author
Brett Smith <brett@curoverse.com>
Fri, 30 Jan 2015 20:24:27 +0000
(15:24 -0500)
committer
Brett Smith <brett@curoverse.com>
Fri, 30 Jan 2015 20:24:49 +0000
(15:24 -0500)
sdk/python/tests/test_api.py
patch
|
blob
|
history
diff --git
a/sdk/python/tests/test_api.py
b/sdk/python/tests/test_api.py
index 97d3e2c7b6e8c520efce9cc278c6024a53128e31..4d03ae7744814f8629edd0b9cc37be7d9b41269c 100644
(file)
--- a/
sdk/python/tests/test_api.py
+++ b/
sdk/python/tests/test_api.py
@@
-52,6
+52,14
@@
class ArvadosApiClientTest(unittest.TestCase):
def tearDownClass(cls):
run_test_server.stop()
+ def test_new_api_objects_with_cache(self):
+ clients = [arvados.api('v1', cache=True,
+ host=os.environ['ARVADOS_API_HOST'],
+ token='discovery-doc-only-no-token-needed',
+ insecure=True)
+ for index in [0, 1]]
+ self.assertIsNot(*clients)
+
def test_basic_list(self):
answer = self.api.humans().list(
filters=[['uuid', 'is', None]]).execute()