mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 18:27:29 -05:00
* Test refinement. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
9 lines
179 B
Python
9 lines
179 B
Python
import json
|
|
|
|
import upytest
|
|
from pyscript import web
|
|
|
|
result = await upytest.run("./tests", random=True)
|
|
output = web.div(json.dumps(result), id="result")
|
|
web.page.append(output)
|