Skip to content

Commit

Permalink
Changed test for admin list editable
Browse files Browse the repository at this point in the history
  • Loading branch information
haos616 committed Mar 25, 2016
1 parent 3acf681 commit f730571
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_admin_list_editable.py
Expand Up @@ -116,8 +116,7 @@ def test_message_user_no_changes(self):

messages = list(map(str, list(res.context['messages'])))

self.assertIn('No %s were changed due conflict errors' % force_text(self.TARGET._meta.verbose_name),
messages)
self.assertIn('Record with pk `%s` has been modified and was not updated' % id, messages)
self.assertEqual(len(messages), 1)

def test_log_change(self):
Expand Down

0 comments on commit f730571

Please sign in to comment.