We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d551a4 commit f5760b5Copy full SHA for f5760b5
tests/pytest/test_toast.py
@@ -223,6 +223,8 @@ def test_toast_tagify_generates_id():
223
# (The ID generation only happens in as_payload())
224
tag = t.tagify()
225
html_str = str(tag)
226
+ # Verify an auto-generated ID is present
227
+ assert re.search(r'id="bslib-toast-[0-9a-f]+"', html_str)
228
229
# When tagify() is called with an explicit ID parameter, it should use it
230
tag_with_id = t.tagify(id="test-id")
0 commit comments