add address test and improve error messaging when ElementBase gets a bad input as style

This commit is contained in:
Fabio Pliger
2024-02-27 11:41:10 -06:00
parent 6dccf08834
commit 51dc0909ac
2 changed files with 9 additions and 1 deletions

View File

@@ -103,6 +103,10 @@ class TestElements(PyScriptTest):
abbr = self._create_el_and_basic_asserts("abbr", "some text")
assert abbr.text_content() == "some text"
def test_address(self):
address = self._create_el_and_basic_asserts("address", "some text")
assert address.text_content() == "some text"
def test_element_button(self):
button = self._create_el_and_basic_asserts("button", "click me")
assert button.inner_html() == "click me"