Archipelago icon indicating copy to clipboard operation
Archipelago copied to clipboard

Bug: Two KH2 unit tests fail on my machine despite passing in CI

Open Ixrec opened this issue 1 year ago • 1 comments

What happened?

image

clicking on test_default_without_LnD shows:


Failure
Traceback (most recent call last):
  File "C:\Users\j-pop\git\Archipelago\worlds\kh2\test\test_form_logic.py", line 109, in test_default_without_LnD
    self.assertFalse((self.can_reach_location(levels[2])), levels[2])
AssertionError: True is not false : Valor level 4


clicking on test_just_a_form_connections shows:


Error
Traceback (most recent call last):
  File "C:\Users\j-pop\git\Archipelago\worlds\kh2\test\test_form_logic.py", line 160, in test_just_a_form_connections
    allPossibleForms.remove(ItemName.FinalForm)
ValueError: list.remove(x): x not in list

I can reproduce this consistently on both today's latest main commit, and a weeks-old main commit.

What were the expected results?

Tests pass, matching CI

Software

Local generation

Ixrec avatar Dec 24 '23 19:12 Ixrec

Are you able to recreate this on main? I wasn't able to get these failures.

nicholassaylor avatar Oct 25 '24 05:10 nicholassaylor

@Ixrec

Exempt-Medic avatar Jul 27 '25 13:07 Exempt-Medic

This doesn't happen to me on current main.

Ixrec avatar Jul 27 '25 14:07 Ixrec