Commit 1cbd3c46 by tasawernawaz Committed by Bill DeRusha

comment added in test_forms

parent fa2a82d7
...@@ -26,7 +26,7 @@ class UserModelChoiceFieldTests(TestCase): ...@@ -26,7 +26,7 @@ class UserModelChoiceFieldTests(TestCase):
def test_team_admin_without_full_name(self): def test_team_admin_without_full_name(self):
""" """
Verify that UserModelChoiceField returns `username` if `full_name` empty. Verify that UserModelChoiceField returns `username` if `full_name` is empty.
""" """
user = UserFactory(username='test_user', full_name='', first_name='', last_name='') user = UserFactory(username='test_user', full_name='', first_name='', last_name='')
self._assert_choice_label(user.username) self._assert_choice_label(user.username)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment