311
311
def test_private_team_cannot_be_a_member_of_itself(self):
312
312
# A private team should be filtered by the vocab.extra_clause
313
313
# when provided a search term.
314
315
team = self.factory.makeTeam(
317
318
self.assertNotIn(team, self.searchVocabulary(team, team.name))