don't load user's levels in tests, load the temp level instead
This commit is contained in:
parent
f0d1eec483
commit
ddd59bacbd
2
tests.py
2
tests.py
@ -381,7 +381,7 @@ class TestSchematics(unittest.TestCase):
|
|||||||
tempSchematic.copyBlocksFrom(schem, BoundingBox((0, 0, 0), (1, 1, 3)), (0, 0, 0))
|
tempSchematic.copyBlocksFrom(schem, BoundingBox((0, 0, 0), (1, 1, 3)), (0, 0, 0))
|
||||||
|
|
||||||
info("Schematic from alpha")
|
info("Schematic from alpha")
|
||||||
level = loadWorldNumber(1)
|
level = self.alphalevel.level
|
||||||
for cx, cz in itertools.product(xrange(0, 4), xrange(0, 4)):
|
for cx, cz in itertools.product(xrange(0, 4), xrange(0, 4)):
|
||||||
try:
|
try:
|
||||||
level.createChunk(cx, cz)
|
level.createChunk(cx, cz)
|
||||||
|
Reference in New Issue
Block a user