mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 18:47:16 +01:00
Merge branch 'develop' of github.com:evennia/evennia into develop
This commit is contained in:
commit
0b97708614
2 changed files with 7 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue