rename test_name_surfix in test_name_suffix in participant/tests.py

This commit is contained in:
Oskar Hahn 2012-10-29 16:27:15 +01:00
parent 79c5e93422
commit f4e1f83f15

View File

@ -37,7 +37,7 @@ class UserTest(TestCase):
def test_repr(self): def test_repr(self):
self.assertEqual(unicode(self.user1), 'Max Mustermann') self.assertEqual(unicode(self.user1), 'Max Mustermann')
def test_name_surfix(self): def test_name_suffix(self):
self.user1.detail = 'München' self.user1.detail = 'München'
self.user1.save() self.user1.save()
self.assertEqual(unicode(self.user1), 'Max Mustermann (München)') self.assertEqual(unicode(self.user1), 'Max Mustermann (München)')