tests.unit.test_usuarios module

class tests.unit.test_usuarios.TestUsuario(methodName='runTest')[código fonte]

Bases: unittest.case.TestCase

setUp()[código fonte]

Hook method for setting up the test fixture before exercising it.

tearDown()[código fonte]

Hook method for deconstructing the test fixture after testing it.

test_login_senha_errada()[código fonte]
test_login_sucesso(mock_login)[código fonte]
test_login_usuario_nao_existe()[código fonte]
test_logout(mock_logout)[código fonte]
test_obter_por_id()[código fonte]
test_registrar_email_invalido()[código fonte]
test_registrar_email_ja_existe()[código fonte]
test_registrar_senhas_diferentes()[código fonte]
test_registrar_sucesso()[código fonte]
test_registrar_user_ja_existe()[código fonte]
test_registrar_username_mto_curto()[código fonte]