{"id":43238766,"url":"https://github.com/libris/lxl_api_tests","last_synced_at":"2026-02-01T11:14:30.512Z","repository":{"id":19290932,"uuid":"86704227","full_name":"libris/lxl_api_tests","owner":"libris","description":"Integration tests for Libris XL API","archived":false,"fork":false,"pushed_at":"2024-09-13T12:42:44.000Z","size":122,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-09-14T04:19:35.423Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/libris.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-30T13:13:01.000Z","updated_at":"2024-09-13T12:42:45.000Z","dependencies_parsed_at":"2023-12-07T13:25:14.857Z","dependency_job_id":"41756c23-e5fd-4105-ac45-d03737969344","html_url":"https://github.com/libris/lxl_api_tests","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/libris/lxl_api_tests","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libris%2Flxl_api_tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libris%2Flxl_api_tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libris%2Flxl_api_tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libris%2Flxl_api_tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libris","download_url":"https://codeload.github.com/libris/lxl_api_tests/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libris%2Flxl_api_tests/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28977317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T09:57:52.632Z","status":"ssl_error","status_checked_at":"2026-02-01T09:57:49.143Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-01T11:14:29.790Z","updated_at":"2026-02-01T11:14:30.498Z","avatar_url":"https://github.com/libris.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lxl_api_tests\n\nThis is a collection of integration tests for the LibrisXL API.\n\n## Dependencies\n\n`libssl-dev`\n\n## Configuration\n\nWe use environment variables to configure which system to run the tests against as well as which system to use for \nauthorization. The following variables need to be set before executing the tests:\n\n- `LXLTESTING_LOGIN_URL` - URL to the oauth server e.g. `https://login.libris.kb.se` or a local xl_auth instance.\n- `LXLTESTING_USERNAME` and `LXLTESTING_PASSWORD` - user credentials for the oauth server.\n- `LXLTESTING_OAUTH_CLIENT_ID` - client ID for an oauth client that is configured to redirect to the system under test.\n- `LXLTESTING_ROOT_URL` - path to the Libris XL rest API, defaults to `http://libris.kb.se.localhost:5000`.\nTo be able to run without https against e.g. localhost, set:\n`export OAUTHLIB_INSECURE_TRANSPORT=1`\n\n## Running\n\n```bash\n# First install uv: https://github.com/astral-sh/uv\n# Then run the tests:\n$ LXLTESTING_LOGIN_URL=https://some.host LXLTESTING_USERNAME=username \\\n      LXLTESTING_PASSWORD=password LXLTESTING_OAUTH_CLIENT_ID=client-id uv run pytest\n```\n\nEnvironment variables can also be kept in a run configuration for this project if running the tests in an IDE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibris%2Flxl_api_tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibris%2Flxl_api_tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibris%2Flxl_api_tests/lists"}