def test(self): return # currently disabled to save battery worldPath = os.path.join('worlds', 'mc2') world = World(worldPath) for i in range(1024): povPath = 'objects_%s.pov' % i if os.path.exists(povPath): continue with open(povPath, 'w') as f: render(f, world) break
def setUp(self): super(TestWorldWithSuccessfullyLoadedWorld, self).setUp() self.worldPath = os.path.join('worlds', 'mc2') self.world = World(self.worldPath)