small addition to test_teams
This commit is contained in:
@@ -161,6 +161,10 @@ class TeamCreateFactory(TestCase):
|
||||
id, comment = create_team(faker.word(), self.u)
|
||||
self.assertEqual(id,2)
|
||||
|
||||
id, comment = create_team(self.t.name,self.u)
|
||||
self.assertEqual(id,0)
|
||||
self.assertEqual(comment,'Team name duplication')
|
||||
|
||||
def test_lowlevel_remove_team(self):
|
||||
team = TeamFactory(manager=self.u)
|
||||
tid = team.id
|
||||
|
||||
BIN
Binary file not shown.
Vendored
+1
-1
@@ -2502,7 +2502,7 @@
|
||||
</Trackpoint>
|
||||
</Track>
|
||||
</Lap>
|
||||
<Notes><Element 'Notes' at 0x1388e7b8></Notes>
|
||||
<Notes><Element 'Notes' at 0x14a7a278></Notes>
|
||||
</Activity>
|
||||
</Activities>
|
||||
<Creator>
|
||||
|
||||
Reference in New Issue
Block a user