Spelling error and better name use
This commit is contained in:
@@ -44,8 +44,9 @@ def test_has_role_history(session):
|
||||
.all()
|
||||
)
|
||||
|
||||
assert changed_events[0].changed_state["role"][0]
|
||||
assert changed_events[0].changed_state["role"][1]
|
||||
# changed_state["role"] returns a list [previous role, current role]
|
||||
assert changed_events[0].changed_state["role"][0] == 'developer'
|
||||
assert changed_events[0].changed_state["role"][1] == 'admin'
|
||||
|
||||
|
||||
def test_has_status_history(session):
|
||||
|
Reference in New Issue
Block a user