mirror of
https://gitlab.com/splashmapper/splash.git
synced 2026-02-12 06:50:49 +01:00
13 lines
365 B
Python
13 lines
365 B
Python
import splash
|
|
|
|
from splash_test import SplashTestCase
|
|
|
|
|
|
class TestProjects(SplashTestCase):
|
|
def test_project(self):
|
|
print("Testing saving and loading a project")
|
|
|
|
projectFilePath = "/tmp/splashProject.json"
|
|
splash.set_world_attribute("saveProject", [projectFilePath])
|
|
splash.set_world_attribute("loadProject", [projectFilePath])
|