

def test_team_has_members(fx_people, fx_teams):
    assert fx_teams.clamp.members == {
        fx_people.clamp_member_1,
        fx_people.clamp_member_2,
        fx_people.clamp_member_3,
        fx_people.clamp_member_4
    }


def test_person_has_awards(fx_people, fx_awards):
    assert fx_people.peter_jackson.awards == {
        fx_awards.hugo_award,
        fx_awards.nebula_award
    }


def test_person_made_works(fx_people, fx_works):
    assert len(fx_people.clamp_member_1.credits) == 1
    for asso in fx_people.clamp_member_1.credits:
        assert asso.person == fx_people.clamp_member_1
        assert asso.work == fx_works.cardcaptor_sakura
        assert asso.role == 'Artist'



def test_team_has_members(fx_people, fx_teams):
    assert fx_teams.clamp.members == {
        fx_people.clamp_member_1,
        fx_people.clamp_member_2,
        fx_people.clamp_member_3,
        fx_people.clamp_member_4
    }


def test_person_has_awards(fx_people, fx_awards):
    assert fx_people.peter_jackson.awards == {
        fx_awards.hugo_award,
        fx_awards.nebula_award
    }


def test_person_made_works(fx_people, fx_works):
    assert fx_people.clamp_member_1.credits == {
        fx_works.skura_member_asso_1
    }

Adjust test_person_made_works to keep consistency.