diff --git a/tests/test_issues_pylib.py b/tests/test_issues_pylib.py index e145a492c0239ddc77c45bd65204140f45c736ac..a0db34bb06d2b760e33d522ee807674dab42523c 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: