Surn commited on
Commit
dce247e
·
1 Parent(s): 581c2fc

Add new apptest for streamlit

Browse files
Files changed (1) hide show
  1. tests/test_apptest.py +7 -0
tests/test_apptest.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ # file: D:/Projects/Battlewords/tests/test_apptest.py
2
+ from streamlit.testing.v1 import AppTest
3
+
4
+ def test_app_runs():
5
+ at = AppTest.from_file("app.py")
6
+ at.run()
7
+ assert not at.exception