diff --git a/evennia/contrib/crafting/tests.py b/evennia/contrib/crafting/tests.py index 3c3dfa1452..9200c9426b 100644 --- a/evennia/contrib/crafting/tests.py +++ b/evennia/contrib/crafting/tests.py @@ -31,6 +31,8 @@ class TestCraftUtils(TestCase): { "crucible steel": example_recipes.CrucibleSteelRecipe, "leather": example_recipes.LeatherRecipe, + "fireball": example_recipes.FireballRecipe, + "heal": example_recipes.HealingRecipe, "oak bark": example_recipes.OakBarkRecipe, "pig iron": example_recipes.PigIronRecipe, "rawhide": example_recipes.RawhideRecipe, diff --git a/evennia/utils/tests/test_dbserialize.py b/evennia/utils/tests/test_dbserialize.py index b9c2cc3d9b..896769aa38 100644 --- a/evennia/utils/tests/test_dbserialize.py +++ b/evennia/utils/tests/test_dbserialize.py @@ -57,3 +57,8 @@ class TestDbSerialize(TestCase): self.assertEqual(self.obj.db.test, [{1: 0}, {0: 1}]) self.obj.db.test.sort(key=lambda d: str(d)) self.assertEqual(self.obj.db.test, [{0: 1}, {1: 0}]) + + def test_dict(self): + self.obj.db.test = {'a': True} + self.obj.db.test.update({'b': False}) + self.assertEqual(self.obj.db.test, {'a': True, 'b': False})