def test_get_best_recipe_name_missing_name_missing(self): self.assertEqual( names.get_best_recipe_name('missing-name'), 'missing-name')
def test_get_best_recipe_name(self): self.assertEqual( names.get_best_recipe_name('light-oil-cracking'), 'Light oil cracking to petroleum gas')
def test_get_best_recipe_name_missing_with_item(self): self.assertEqual( names.get_best_recipe_name('basic-armor'), 'Iron armor')
def username(self): """The English name of the produced item e.g. 'Iron armor'.""" return names.get_best_recipe_name(self.name)