Spelling error and better name use

This commit is contained in:
Montana
2018-11-15 10:30:21 -05:00
parent 49ed02ad04
commit c071945b3b
3 changed files with 6 additions and 5 deletions

View File

@@ -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):