Insights / test_app.py
Atharva Thakur
Update StreamlitTesting.yml
2971a70
raw
history blame
318 Bytes
from streamlit.testing.v1 import AppTest
def test_smoke():
"""Basic smoke test"""
at = AppTest.from_file("app.py", default_timeout=10).run()
# Supported elements are primarily exposed as properties on the script
# results object, which returns a sequence of that element.
assert not at.exception