projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e89fc7
)
2800: Restore deleted comment which is still relevant.
author
Tom Clegg <tom@curoverse.com>
Mon, 18 Aug 2014 18:02:42 +0000
(14:02 -0400)
committer
Tom Clegg <tom@curoverse.com>
Mon, 18 Aug 2014 18:02:42 +0000
(14:02 -0400)
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 4917d004ea706302785b9d0d5498c297cfb83c78..ecb93a8dff57cc130f116d669526b344d912c9ba 100644
(file)
--- a/
sdk/python/tests/test_api.py
+++ b/
sdk/python/tests/test_api.py
@@
-31,6
+31,11
@@
class ArvadosApiClientTest(unittest.TestCase):
@classmethod
def setUpClass(cls):
+ # The apiclient library has support for mocking requests for
+ # testing, but it doesn't extend to the discovery document
+ # itself. For now, bring up an API server that will serve
+ # a discovery document.
+ # FIXME: Figure out a better way to stub this out.
run_test_server.run()
mock_responses = {
'arvados.humans.delete': (cls.response_from_code(500), ""),