mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-20 02:37:41 -05:00
remove PY_COMPLETE and the associated message of Python initialization complete (#1373)
* remove PY_COMPLETE * fix test_multiple_async
This commit is contained in:
@@ -30,7 +30,6 @@ class TestDocsSnippets(PyScriptTest):
|
||||
"""
|
||||
)
|
||||
|
||||
assert self.console.log.lines[0] == self.PY_COMPLETE
|
||||
btn = self.page.wait_for_selector("#get-time")
|
||||
btn.click()
|
||||
|
||||
@@ -61,7 +60,6 @@ class TestDocsSnippets(PyScriptTest):
|
||||
"""
|
||||
)
|
||||
|
||||
assert self.console.log.lines[0] == self.PY_COMPLETE
|
||||
py_terminal = self.page.wait_for_selector("py-terminal")
|
||||
# Just a small check to confirm that the response was received
|
||||
assert "userId" in py_terminal.inner_text()
|
||||
@@ -106,7 +104,6 @@ class TestDocsSnippets(PyScriptTest):
|
||||
"""
|
||||
)
|
||||
|
||||
assert self.console.log.lines[0] == self.PY_COMPLETE
|
||||
todo_input = self.page.locator("input")
|
||||
submit_task_button = self.page.locator("button")
|
||||
|
||||
@@ -146,7 +143,6 @@ class TestDocsSnippets(PyScriptTest):
|
||||
"""
|
||||
)
|
||||
|
||||
assert self.console.log.lines[0] == self.PY_COMPLETE
|
||||
py_terminal = self.page.wait_for_selector("py-terminal")
|
||||
assert "0.22.0a3" in py_terminal.inner_text()
|
||||
self.assert_no_banners()
|
||||
@@ -176,7 +172,6 @@ class TestDocsSnippets(PyScriptTest):
|
||||
</py-script>
|
||||
"""
|
||||
)
|
||||
assert self.console.log.lines[0] == self.PY_COMPLETE
|
||||
btn_manual = self.page.wait_for_selector("#manual")
|
||||
btn_display = self.page.wait_for_selector("#display")
|
||||
btn_print = self.page.wait_for_selector("#print")
|
||||
@@ -208,7 +203,6 @@ class TestDocsSnippets(PyScriptTest):
|
||||
</py-script>
|
||||
"""
|
||||
)
|
||||
assert self.console.log.lines[0] == self.PY_COMPLETE
|
||||
py_terminal = self.page.wait_for_selector("py-terminal")
|
||||
|
||||
assert "0\n1\n2\n" in py_terminal.inner_text()
|
||||
|
||||
Reference in New Issue
Block a user