Authorization fixtures omit Notes App Password read/write/full scopes #994

Closed
opened 2026-10-03 07:53:10 +00:00 by kayg · 1 comment
Owner

The offline guard unit test python3 tests/adversarial/test_admin_classification.py fails on test_app_password_fixture_covers_each_valid_scope_class:

AssertionError: Items in the second set but not the first:
('notes', 'full')
('notes', 'write')
('notes', 'read')

Found during #988. No test expectation was changed. Both the test and its Notes fixture inventory are unchanged by that job. Update the authorization fixture setup to cover the three accepted Notes App Password scope classes, then run the offline test and the merge-round matrix. The reviewed Admin handler/contract inventory itself passes.

The offline guard unit test `python3 tests/adversarial/test_admin_classification.py` fails on `test_app_password_fixture_covers_each_valid_scope_class`: ``` AssertionError: Items in the second set but not the first: ('notes', 'full') ('notes', 'write') ('notes', 'read') ``` Found during #988. No test expectation was changed. Both the test and its Notes fixture inventory are unchanged by that job. Update the authorization fixture setup to cover the three accepted Notes App Password scope classes, then run the offline test and the merge-round matrix. The reviewed Admin handler/contract inventory itself passes.
Author
Owner

Duplicate of #716. Both report the same failing test, test_app_password_fixture_covers_each_valid_scope_class, and the same missing Notes read/write/full fixture scopes. Current tests/adversarial/authz_matrix.py still omits notes in create_admin_denial_passwords; tests/adversarial/test_admin_classification.py derives expected scopes from the schema. #716 tracks the canonical fix and remains open.

Duplicate of #716. Both report the same failing test, test_app_password_fixture_covers_each_valid_scope_class, and the same missing Notes read/write/full fixture scopes. Current tests/adversarial/authz_matrix.py still omits notes in create_admin_denial_passwords; tests/adversarial/test_admin_classification.py derives expected scopes from the schema. #716 tracks the canonical fix and remains open.
kayg closed this issue 2026-10-03 12:56:49 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal#994
No description provided.