'Gets a team listing with data as query params, verifies status, and then verifies team names if specified.'

def verify_names(self, data, status, names=None, **kwargs):

    teams = self.get_teams_list(data=data, expected_status=status, **kwargs)
    if ((names is not None) and (200 <= status < 300)):
        results = teams['results']
        self.assertEqual(names, [team['name'] for team in results])
