Skip to content

feat: lock file while read, write and refresh token #1378

feat: lock file while read, write and refresh token

feat: lock file while read, write and refresh token #1378

Triggered via pull request November 20, 2024 15:03
Status Failure
Total duration 12m 4s
Artifacts

main.yml

on: pull_request
shellcheck
5s
shellcheck
pytest-integration
10m 19s
pytest-integration
client-generation
3m 30s
client-generation
Matrix: unittest
Fit to window
Zoom out
Zoom in

Annotations

13 errors
Unit test - ./diracx-client
Process completed with exit code 1.
Unit test - ./diracx-core: diracx-core/tests/test_utils.py#L245
test_get_token_accessing_lock_file TypeError: get_token() got an unexpected keyword argument 'token_endpoint'
Unit test - ./diracx-core: diracx-core/tests/test_utils.py#L254
test_get_token_valid_input_token TypeError: get_token() got an unexpected keyword argument 'token_endpoint'
Unit test - ./diracx-core: diracx-core/tests/test_utils.py#L267
test_get_token_valid_input_credential TypeError: get_token() got an unexpected keyword argument 'token_endpoint'
Unit test - ./diracx-core: diracx-core/tests/test_utils.py#L276
test_get_token_input_token_not_exists TypeError: get_token() got an unexpected keyword argument 'token_endpoint'
Unit test - ./diracx-core: diracx-core/tests/test_utils.py#L292
test_get_token_invalid_input TypeError: get_token() got an unexpected keyword argument 'token_endpoint'
Unit test - ./diracx-core: diracx-core/tests/test_utils.py#L331
test_get_token_refresh_valid TypeError: get_token() got an unexpected keyword argument 'token_endpoint'
Unit test - ./diracx-core: diracx-core/tests/test_utils.py#L372
test_get_token_refresh_invalid TypeError: get_token() got an unexpected keyword argument 'token_endpoint'
Unit test - ./diracx-core
Process completed with exit code 1.
pytest-integration: diracx-core/tests/test_utils.py#L283
test_get_token_input_token_not_exists AssertionError: assert AccessToken(token='', expires_on=0) is None
pytest-integration: diracx-core/tests/test_utils.py#L296
test_get_token_invalid_input AssertionError: assert AccessToken(token='', expires_on=0) is None
pytest-integration: diracx-core/tests/test_utils.py#L381
test_get_token_refresh_invalid AssertionError: assert AccessToken(token='', expires_on=0) is None
pytest-integration
Process completed with exit code 1.