Stardew valley: Add Mod Recipes tests (#4580)

* `- Add Craftsanity Mod tests

* - Add the same test for cooking

---------

Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com>
This commit is contained in:
agilbert1412 2025-01-30 03:19:06 -05:00 committed by GitHub
parent 8e14e463e4
commit 1fe8024b43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 28 additions and 0 deletions

View File

@ -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