mirror of
https://github.com/evennia/evennia.git
synced 2026-03-21 23:36:30 +01:00
Fix other db CI builds with other home location
This commit is contained in:
parent
4e1a2fda82
commit
b0d85a3ae4
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