Aug 19 - Re-evaluation

This commit is contained in:
2026-08-19 16:26:32 -04:00
parent 7efc9bb572
commit a4a8d84801
4 changed files with 57 additions and 16 deletions
+3 -1
View File
@@ -116,7 +116,9 @@ def test_is_external_inspector_distinguishes_the_two(client):
def test_role_label_renders_display_name(client):
env = _seed()
assert env['external'].role_label == 'External Inspector'
# phase51 renamed the LABEL only — the role value is still
# 'external_inspector' (see User.ROLE_LABELS).
assert env['external'].role_label == 'Customer Inspector'
assert env['internal'].role_label == 'Inspector'
+1 -1
View File
@@ -257,4 +257,4 @@ def test_theme_votes_renders_for_admin(client):
assert resp.status_code == 200
body = resp.get_data(as_text=True)
# MT-15's ROLE_LABELS must be used for the raw group_by role strings.
assert 'External Inspector' in body
assert 'Customer Inspector' in body