2800: Remove global state from KeepClient.
authorBrett Smith <brett@curoverse.com>
Tue, 19 Aug 2014 14:17:57 +0000 (10:17 -0400)
committerBrett Smith <brett@curoverse.com>
Wed, 20 Aug 2014 18:18:10 +0000 (14:18 -0400)
commitf05bc0963563ab50341ff042439462b631894de6
treef44be4d11017e8ae98248b1e9757183b608c8462
parent1afe2c7bbb571004736daf347f5178a27128704c
2800: Remove global state from KeepClient.

This commit makes it possible to build and use a KeepClient that isn't
influenced by changes in outside state.  Changing the KeepClient based
on global state has been pushed up to the simple Keep class.

This commit changes the tests as little as possible to demonstrate
backward compatibility.  Refactoring the tests to build KeepClients
directly will come in the future.
sdk/python/arvados/api.py
sdk/python/arvados/keep.py
sdk/python/tests/test_keep_client.py