Skip to content

Commit 277c095

Browse files
Update tests
1 parent 68a95de commit 277c095

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_asgi/test_pyscript.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ async def test_noscript_omitted():
210210
)
211211
assert response.status_code == 200
212212
assert (
213-
'<noscript><p id="noscript-message">Enable JavaScript to view this site.</p></noscript>'
213+
"<noscript>Enable JavaScript to view this site.</noscript>"
214214
in response.text
215215
)
216216

tests/test_asgi/test_standalone.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def sample():
203203
)
204204
assert response.status_code == 200
205205
assert (
206-
'<noscript><p id="noscript-message">Enable JavaScript to view this site.</p></noscript>'
206+
"<noscript>Enable JavaScript to view this site.</noscript>"
207207
in response.text
208208
)
209209

0 commit comments

Comments
 (0)