99
1010from tests .utils import get_paling_server , get_console_logs
1111
12+
1213def test_00_index (driver = None ):
1314 print ("test_00_index" )
1415
@@ -33,7 +34,6 @@ def test_00_index(driver=None):
3334# assert "Got this from Python:" in console_logs[0]['message']
3435# assert "callbacks.html" in console_logs[0]['message']
3536
36-
3737# def test_03_callbacks(driver: webdriver.Remote):
3838# print("test_03_callbacks")
3939# with get_paling_server('examples/03 - sync_callbacks/sync_callbacks.py', 'sync_callbacks.html') as paling_url:
@@ -60,6 +60,7 @@ def test_00_index(driver=None):
6060# assert driver.find_element_by_id('file-name').text == os.path.basename(temp_file.name)
6161
6262
63+
6364# def test_06_jinja_templates(driver: webdriver.Remote):
6465# print("test_06_jinja_templates")
6566# with get_paling_server('examples/06 - jinja_templates/hello.py', 'templates/hello.html') as paling_url:
@@ -70,6 +71,7 @@ def test_00_index(driver=None):
7071# WebDriverWait(driver, 2.0).until(expected_conditions.presence_of_element_located((By.XPATH, '//h1[text()="This is page 2"]')))
7172
7273
74+
7375# def test_10_custom_app(driver: webdriver.Remote):
7476# print("test_10_custom_app")
7577# # test default paling routes are working
@@ -82,4 +84,4 @@ def test_00_index(driver=None):
8284# # test custom routes are working
8385# with get_paling_server('examples/10 - custom_app_routes/custom_app.py', 'custom') as paling_url:
8486# driver.get(paling_url)
85- # assert 'Hello, World!' in driver.page_source
87+ # assert 'Hello, World!' in driver.page_source
0 commit comments