From b27a55a3769be489cf1d05b8b7d8d3b03c98d514 Mon Sep 17 00:00:00 2001 From: "i.nueske" <i.nueske@indiscale.com> Date: Fri, 22 Nov 2024 13:27:49 +0100 Subject: [PATCH] DOC: Add test comments --- tests/test_issues_pylib.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_issues_pylib.py b/tests/test_issues_pylib.py index e145a49..a0db34b 100644 --- a/tests/test_issues_pylib.py +++ b/tests/test_issues_pylib.py @@ -74,10 +74,11 @@ def test_gitlab_com_103(): See https://gitlab.com/linkahead/linkahead-pylib/-/issues/103 and https://gitlab.indiscale.com/caosdb/customers/f-fit/management/-/issues/82 """ - # + # Configure connection to use auth_token auth_token = db.get_connection()._authenticator.auth_token db.configure_connection(auth_token=auth_token) - # + + # Trigger UriTooLong error and check correct error thrown c = db.Container() c.extend([db.Record(id=i) for i in range(1000, 5000)]) with pytest.raises(db.exceptions.TransactionError) as te: -- GitLab