rename test_name_surfix in test_name_suffix in participant/tests.py
This commit is contained in:
parent
79c5e93422
commit
f4e1f83f15
@ -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)')
|
||||||
|
Loading…
Reference in New Issue
Block a user