Files
splash/tests/integration_tests/test_cases/test_project.py
2020-02-06 14:44:55 -05:00

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])