Skip to content

Commit

Permalink
Fix test for Py3
Browse files Browse the repository at this point in the history
  • Loading branch information
jace committed Nov 5, 2018
1 parent 837b984 commit d30d5b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_statemanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ def test_available_transitions_order(self):
"""State managers maintain the order of transitions from the class definition"""
self.assertTrue(self.post.state.DRAFT)
# `submit` must come before `publish`
self.assertEqual(list(self.post.state.transitions(current=False).keys()[:2]), ['submit', 'publish'])
self.assertEqual(list(self.post.state.transitions(current=False).keys())[:2], ['submit', 'publish'])

def test_currently_available_transitions(self):
"""State managers indicate the currently available transitions (using current_auth)"""
Expand Down

0 comments on commit d30d5b3

Please sign in to comment.