Changelog#
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]#
Changed#
pytest-iam requires Canaille 0.4.3 and pytest 7.3.2.
Groups must have at least one member.
Server.random_groupadds a new random user as the member whenmembersis not given.
[0.4.0] - 2026-10-28#
Added#
Server.random_tokenacceptssubject=None, to create a token that belongs to a client only.The IAM server serves a SCIM API, with the
scimextra.Server.mountserves the requests that the IAM server sends to a URL with a WSGI application, without network. It applies to thejwks_uriandrequest_uriof clients.
Changed#
pytest-iam requires Canaille 0.4.1.
The IAM server no longer reads the
canaille.tomlfile, nor the file inCANAILLE_CONFIG.A user logged in during a test, with
Server.loginor with the login form ofServer.test_client, is logged out at the end of the test.A user logged in with
Server.loginis logged out when the IAM server logs them out, for instance on its logout page.
Fixed#
Requests made with
Server.test_clientno longer shareflask.g. A user logged in with the login form stayed logged in for all the following requests.
[0.3.0] - 2026-10-26#
Added#
Type annotations and a
py.typedmarker.Support for Python 3.15.
Removed#
Support for Python 3.10.
Fixed#
Starting
iam_serverno longer disables the loggers of the tested project, nor changes the root logger configuration.
[0.2.6] - 2026-06-20#
Fixed#
Support for Canaille 0.3.0.
[0.2.5] - 2025-11-02#
Fixed#
Support for Canaille 0.0.87.
[0.2.4] - 2025-07-25#
Fixed#
fake_usersandfake_groupswas broken. #5
[0.2.3] - 2025-07-09#
Fixed#
Use in-memory agnostic database instead of SQLite.
[0.2.2] - 2025-06-25#
Fixed#
Support for Canaille 0.0.77.
[0.2.1] - 2025-06-06#
Fixed#
Support for Canaille 0.0.75.
[0.2.0] - 2025-04-24#
Added#
Implement
test_clientattribute.Implement
logoutmethod.Support for OIDC
createprompt.
[0.1.1] - 2025-04-04#
Changed#
Update to Canaille 0.0.70.
Disable http access logs.
[0.1.0] - 2024-07-25#
Changed#
Update to Canaille 0.0.54. This break the way models are saved and deleted (
iam_server.backend.save(user)instead ofuser.save()). Please check the documentation to see examples.Documentation uses Shibuya theme.
[0.0.12] - 2024-04-22#
Changed#
Configuration is read from
.pytest-iam.envConfiguration is read from environment vars prefixed by
PYTEST_IAM_
[0.0.11] - 2024-04-22#
Changed#
Ignores local .env #3
Removed#
Stop Python 3.8 support
[0.0.10] - 2024-04-12#
Changed#
Move the repository to https://github.com/pytest-dev/pytest-iam
GHA support #1
[0.0.9] - 2024-03-30#
Added#
Canaille 0.0.44 support
[0.0.8] - 2024-03-14#
Added#
Loose dependency versions.
[0.0.7] - 2024-03-12#
Added#
Display Canaille debug logs by default.
[0.0.6] - 2024-01-24#
Fixed#
python <=3.8 incompatible typing
[0.0.5] - 2023-12-22#
Added#
iam_configurationfixture
[0.0.4] - 2023-12-15#
Fixed#
Ensure model instances are created within the Canaille application context.
[0.0.3] - 2023-08-31#
Added#
Documentation draft
Implement
Server.random_tokenLoose canaille dependency
[0.0.2] - 2023-08-21#
Added#
Implement
Server.consentandServer.login
[0.0.1] - 2023-08-17#
Added#
Initial release