def test_instance_linkedin(self): objeto = linkedin() assert isinstance(objeto, linkedin)
def test_tipo_certo_linkedin(self): profile_type = 'linkedin' profile = eval(profile_type.lower())() assert (type(profile).__name__) == 'linkedin' profile = linkedin().getSections() assert (str(profile)) == '[Dados Pessoais, Sessão publicações]'