156
151
name="fredteam", email="fredteam@foo.com")
157
152
self._person_filter_tests(person)
160
155
results = self.searchVocabulary(None, '', 'TEAM')
161
156
for personorteam in results:
162
157
self.assertTrue(personorteam.is_team)
163
158
results = self.searchVocabulary(None, u'fred', 'TEAM')
166
172
def test_team_filter(self):
167
173
# Test that the team filter only returns teams.