mirror of
https://github.com/allankoechke/pywebview.git
synced 2026-12-04 01:32:59 +00:00
Add bg_color test
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import pytest
|
||||
import webview
|
||||
from .util import destroy_window, run_test
|
||||
|
||||
def bg_color():
|
||||
import webview
|
||||
destroy_window(webview)
|
||||
webview.create_window('Background color test', 'https://www.example.org', bg_color='#0000FF')
|
||||
|
||||
|
||||
def test_bg_color():
|
||||
run_test(bg_color)
|
||||
|
||||
Reference in New Issue
Block a user