* `- Add Craftsanity Mod tests * - Add the same test for cooking --------- Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com>
		
			
				
	
	
		
			29 lines
		
	
	
		
			1019 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			1019 B
		
	
	
	
		
			Python
		
	
	
	
	
	
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
 |