Skip to content

Commit

Permalink
Stardew valley: Add Mod Recipes tests (#4580)
Browse files Browse the repository at this point in the history
* `- Add Craftsanity Mod tests

* - Add the same test for cooking

---------

Co-authored-by: black-sliver <[email protected]>
  • Loading branch information
agilbert1412 and black-sliver authored Jan 30, 2025
1 parent 8e14e46 commit 1fe8024
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions worlds/stardew_valley/test/mods/TestModsFill.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
from .. import SVTestBase
from ... import options


class TestNoGingerIslandCraftingRecipesAreRequired(SVTestBase):
options = {
options.Goal.internal_name: options.Goal.option_craft_master,
options.Craftsanity.internal_name: options.Craftsanity.option_all,
options.ExcludeGingerIsland.internal_name: options.ExcludeGingerIsland.option_true,
options.Mods.internal_name: frozenset(options.Mods.valid_keys)
}

@property
def run_default_tests(self) -> bool:
return True


class TestNoGingerIslandCookingRecipesAreRequired(SVTestBase):
options = {
options.Goal.internal_name: options.Goal.option_gourmet_chef,
options.Cooksanity.internal_name: options.Cooksanity.option_all,
options.ExcludeGingerIsland.internal_name: options.ExcludeGingerIsland.option_true,
options.Mods.internal_name: frozenset(options.Mods.valid_keys)
}

@property
def run_default_tests(self) -> bool:
return True

0 comments on commit 1fe8024

Please sign in to comment.