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

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)