Skip to content

Commit 1aa8c21

Browse files
committed
feat(async): no more async and await in objects' methods
From now on v4 object method would return coroutine or desired data
1 parent 7b18338 commit 1aa8c21

File tree

2 files changed

+320
-311
lines changed

2 files changed

+320
-311
lines changed

gitlab/tests/test_gitlab.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ async def test_get_request_raw(self, gl, gl_get_value):
306306
"/projects",
307307
),
308308
],
309+
ids=["http_error", "parsing_error"],
309310
)
310311
@pytest.mark.parametrize(
311312
"http_method, gl_method",
@@ -315,6 +316,7 @@ async def test_get_request_raw(self, gl, gl_get_value):
315316
("post", "http_post"),
316317
("put", "http_put"),
317318
],
319+
ids=["get", "list", "post", "put"],
318320
)
319321
async def test_errors(
320322
self, gl, is_gl_sync, http_method, gl_method, respx_params, gl_exc, path

0 commit comments

Comments
 (0)