Aug 19 - Re-evaluation
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user