DLC Quest - Skip two long tests in the main pipeline (#4862)

* - Set up the two long tests to only run when the specific config is active

* Apply Black Sliver's suggestion
This commit is contained in:
agilbert1412
2025-04-11 20:41:08 -04:00
committed by GitHub
parent b7b5bf58aa
commit 347efac0cd
2 changed files with 18 additions and 6 deletions

View File

@@ -1,19 +1,26 @@
from typing import ClassVar
from typing import Dict, FrozenSet, Tuple, Any
import os
from argparse import Namespace
from typing import ClassVar
from typing import Dict, FrozenSet, Tuple, Any
from BaseClasses import MultiWorld
from test.bases import WorldTestBase
from .. import DLCqworld
from test.general import gen_steps, setup_solo_multiworld as setup_base_solo_multiworld
from worlds.AutoWorld import call_all
from .. import DLCqworld
class DLCQuestTestBase(WorldTestBase):
game = "DLCQuest"
world: DLCqworld
player: ClassVar[int] = 1
# Set False to run tests that take long
skip_long_tests: bool = True
@classmethod
def setUpClass(cls) -> None:
super().setUpClass()
cls.skip_long_tests = not bool(os.environ.get("long"))
def world_setup(self, *args, **kwargs):
super().world_setup(*args, **kwargs)