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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user