Teste unitário com pytest

Olá, comecei a estudar e fazer alguns testes usando o pytest, porém não está indo. Eu tbm não possuo tanto conhecimento assim em python, então não sei se errei algo básico na linguagem que não roda o teste. Se alguém puder ajudar serei muito grato.

Nome_arquivo: misc.py

def check_eligible_state(state :str) -> float:

''' It checks if one state is eligible to some random policies.



    Args:

        state (string): The State in Brazil

    Returns:

        variable (bool): Whether the state is eligible

'''

     

policy_1 = state in ['AC', 'AL', 'AP', 'AM', 'BA', 'CE', 'DF', 'ES', 'GO', 'MA', 'MT', 'MS']        

policy_2 = state in ['MG', 'PA', 'PB', 'PR', 'PE', 'PI', 'RJ', 'RN', 'RS', 'RO', 'RR', 'SC', 'SP', 'SE', 'TO']

policy_3 = state in ['ES', 'MG', 'RJ', 'SP']

if (policy_1 or policy_2) and policy_3:

    return True

else:

    return False

Nome_arquivo: tests_misc.py

check_eligible_state = [(“AC”, “AL”, “ES”),

                 ("GO", "MS", "RJ"),

                 ("SE", "PI", "MG")]

@pytest.mark.parametrize([“state”], check_eligible_state)

def test_check_eligible_state(state):

   assert misc.check_eligible_state(state) == True