2800: Restore deleted comment which is still relevant.
authorTom Clegg <tom@curoverse.com>
Mon, 18 Aug 2014 18:02:42 +0000 (14:02 -0400)
committerTom Clegg <tom@curoverse.com>
Mon, 18 Aug 2014 18:02:42 +0000 (14:02 -0400)
sdk/python/tests/test_api.py

index 4917d004ea706302785b9d0d5498c297cfb83c78..ecb93a8dff57cc130f116d669526b344d912c9ba 100644 (file)
@@ -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), ""),