From ddd59bacbdc41179131395e2f615e12a96b6b0b7 Mon Sep 17 00:00:00 2001 From: David Vierra Date: Mon, 16 Jan 2012 22:17:51 -1000 Subject: [PATCH] don't load user's levels in tests, load the temp level instead --- tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests.py b/tests.py index 69b347b..9972417 100644 --- a/tests.py +++ b/tests.py @@ -381,7 +381,7 @@ class TestSchematics(unittest.TestCase): tempSchematic.copyBlocksFrom(schem, BoundingBox((0, 0, 0), (1, 1, 3)), (0, 0, 0)) info("Schematic from alpha") - level = loadWorldNumber(1) + level = self.alphalevel.level for cx, cz in itertools.product(xrange(0, 4), xrange(0, 4)): try: level.createChunk(cx, cz)