Files
pywebview/tests/test_load_html.py
2019-02-12 22:34:22 +02:00

19 lines
292 B
Python

import webview
import pytest
from .util import run_test
def test_load_html():
run_test(webview, main_func, load_html, destroy_delay=0)
def main_func():
webview.create_window('Load HTML test')
def load_html():
webview.load_html('<h1>This is dynamically loaded HTML</h1>')