2800: Introduce TestCaseWithServers to Python SDK.
authorBrett Smith <brett@curoverse.com>
Wed, 20 Aug 2014 13:46:49 +0000 (09:46 -0400)
committerBrett Smith <brett@curoverse.com>
Wed, 20 Aug 2014 18:18:10 +0000 (14:18 -0400)
commit3b9b5c14f6b1cd0cbed75e0d4adf36e10323dbe7
treeb1ec1bcecb959ec31a9e5beb6c6592b30fc5611f
parentda01d7e185a6ce5e96d542c180856ce84e94ed63
2800: Introduce TestCaseWithServers to Python SDK.

This is a subclass of unittest.TestCase.  It looks for specific class
variables to launch supporting Arvados servers for subclass test
cases, taking care to adjust the environment and local Arvados
configuration to match.  Put another away, this refactors a number of
similar setUpClass/tearDownClass methods throughout the SDK tests.
sdk/python/tests/arvados_testutil.py
sdk/python/tests/run_test_server.py
sdk/python/tests/test_arv_put.py
sdk/python/tests/test_collections.py
sdk/python/tests/test_keep_client.py
sdk/python/tests/test_websockets.py