Skip to content

Commit d19be27

Browse files
committed
upd pytest
1 parent a038736 commit d19be27

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_app.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from unittest import TestCase
77
from streamlit.testing.v1 import AppTest
88

9+
910
class Test(TestCase):
1011
"""
1112
Find out more about how to test streamlit apps:
@@ -23,5 +24,6 @@ def test_ui_title_and_header(self):
2324

2425
def test_lint(self):
2526
# run the linter on the src directory
26-
lint_output = os.popen("autopep8 --exit-code --recursive --diff --aggressive ./src").read()
27+
lint_output = os.popen(
28+
"autopep8 --exit-code --recursive --diff --max-line-length 120 ./src").read()
2729
assert lint_output == ""

0 commit comments

Comments
 (0)