Пример #1
0
 def test_get_team_by_team_id_exists(self):
     team = teams_api.get_team_by_team_id(self.team1.team_id)
     assert team == self.team1
Пример #2
0
 def test_get_team_by_team_id_exists(self):
     team = teams_api.get_team_by_team_id(self.team1.team_id)
     self.assertEqual(team, self.team1)
Пример #3
0
 def test_get_team_by_team_id_non_existence(self):
     assert teams_api.get_team_by_team_id('DO_NOT_EXIST') is None
Пример #4
0
 def test_get_team_by_team_id_non_existence(self):
     self.assertIsNone(teams_api.get_team_by_team_id('DO_NOT_EXIST'))