浏览代码

fix pytest

Falko Schindler 1 年之前
父节点
当前提交
a7bf8d2b6f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/test_element.py

+ 1 - 1
tests/test_element.py

@@ -278,7 +278,7 @@ def test_invalid_tags(screen: Screen):
 
 
 
 
 def test_bad_characters(screen: Screen):
 def test_bad_characters(screen: Screen):
-    ui.html(r'& <test> ` ${foo}')
+    ui.label(r'& <test> ` ${foo}')
 
 
     screen.open('/')
     screen.open('/')
     screen.should_contain(r'& <test> ` ${foo}')
     screen.should_contain(r'& <test> ` ${foo}')