Exemple #1
0
 def test_username(self):
     self.assertEqual(t.username("jsmith1"), 'TPitts')
Exemple #2
0
 def test_lower(self):
     self.assertEqual(t.username("jsmith"), 'JPonty')
Exemple #3
0
 def test_upper(self):
     self.assertEqual(t.username("JSMITH"), 'JPonty')
Exemple #4
0
 def test_empty(self):
     self.assertEqual(t.username(""), '')