|
|
@@ -100,6 +100,11 @@ class TestClient(object): |
|
|
|
with assert_raises(Error): |
|
|
|
client.http._handle_error(url, 600, json.dumps(args)) |
|
|
|
|
|
|
|
# Use get_gen for an endpoint that doesn't have newlines, |
|
|
|
# for better test coverage. |
|
|
|
for line in client.http.get_gen("/version"): |
|
|
|
pass |
|
|
|
|
|
|
|
client.close() |
|
|
|
|
|
|
|
def test_client_02_createlist(self): |
|
|
|