Quando rodo o test_leilao.py, ainda permanece 3 erros:
primeiro:
FAILED [ 28%]
1 != 2
Expected :2 Actual :1
self = <tests.test_leilao.TestLeilao testMethod=test_deve_permitir_propor_um_lance_caso_o_ultimo_usuario_seja_diferente> first = 2, second = 1, msg = None
def _patched_equals(self, first, second, msg=None):
try:
old(self, first, second, msg)
......\Nova pasta\PyCharm Community Edition 2020.3\plugins\python-ce\helpers\pycharm\teamcity\diff_tools.py:32:
segundo:
FAILED [ 42%]
100.0 != 150.0
Expected :150.0 Actual :100.0
self = <tests.test_leilao.TestLeilao testMethod=test_deve_retornar_o_maior_e_o_menor_valor_de_um_lance_quando_adicionados_em_ordem_crescente> first = 150.0, second = 100.0, msg = None
def _patched_equals(self, first, second, msg=None):
try:
old(self, first, second, msg)
......\Nova pasta\PyCharm Community Edition 2020.3\plugins\python-ce\helpers\pycharm\teamcity\diff_tools.py:32:
Terceiro:
FAILED [ 57%]
100.0 != 200.0
Expected :200.0 Actual :100.0
self = <tests.test_leilao.TestLeilao testMethod=test_deve_retornar_o_maior_e_o_menor_valor_quando_o_leilao_tiver_tres_lance_> first = 200.0, second = 100.0, msg = None
def _patched_equals(self, first, second, msg=None):
try:
old(self, first, second, msg)
......\Nova pasta\PyCharm Community Edition 2020.3\plugins\python-ce\helpers\pycharm\teamcity\diff_tools.py:32: