Falko Schindler 1 rok temu
rodzic
commit
a7bf8d2b6f
1 zmienionych plików z 1 dodań i 1 usunięć
  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):
-    ui.html(r'& <test> ` ${foo}')
+    ui.label(r'& <test> ` ${foo}')
 
     screen.open('/')
     screen.should_contain(r'& <test> ` ${foo}')