-
Notifications
You must be signed in to change notification settings - Fork 773
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stardew valley: Add Mod Recipes tests (#4580)
* `- Add Craftsanity Mod tests * - Add the same test for cooking --------- Co-authored-by: black-sliver <[email protected]>
- Loading branch information
1 parent
8e14e46
commit 1fe8024
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |