mirror of
https://github.com/evennia/evennia.git
synced 2026-04-01 13:37:17 +02:00
Fix other db CI builds with other home location
This commit is contained in:
parent
1cccc527fd
commit
3739b7b11e
1 changed files with 5 additions and 1 deletions
|
|
@ -216,8 +216,12 @@ class TestCraftingRecipe(TestCase):
|
|||
def test_seed__succcess(self):
|
||||
"""Test seed helper classmethod"""
|
||||
|
||||
# needed for other dbs to pass seed
|
||||
homeroom = create_object(key="HomeRoom", nohome=True)
|
||||
|
||||
# call classmethod directly
|
||||
tools, consumables = _MockRecipe.seed()
|
||||
with override_settings(DEFAULT_HOME=f"#{homeroom.id}"):
|
||||
tools, consumables = _MockRecipe.seed()
|
||||
|
||||
# this should be a normal successful crafting
|
||||
recipe = _MockRecipe(self.crafter, *(tools + consumables))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue