Files
pywebview/tests/test_load_html.py
Roman 22de1e0f9c evaluate_js, thread safety improvements
- Uniform cross-platform JS type conversion to Python types in evalulate_js
- Thread safety improvements 
- New test runner
2018-03-10 09:23:01 +02:00

19 lines
275 B
Python

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