mirror of
https://gitlab.com/splashmapper/splash.git
synced 2026-02-26 05:34:36 +01:00
25 lines
527 B
Python
25 lines
527 B
Python
import os
|
|
import splash
|
|
|
|
from time import sleep
|
|
from unittest import TestCase
|
|
|
|
|
|
class SplashTestCase(TestCase):
|
|
test_dir = os.path.dirname(os.path.realpath(__file__))
|
|
|
|
@classmethod
|
|
def setUpClass(cls):
|
|
print("\n================")
|
|
|
|
@classmethod
|
|
def tearDownClass(cls):
|
|
"""
|
|
Reload the default configuration
|
|
"""
|
|
splash.set_world_attribute(
|
|
"loadProject",
|
|
f"{SplashTestCase.test_dir}/../integrationTests_project.json"
|
|
)
|
|
sleep(2.0)
|