Skip to content

Commit cf88fd7

Browse files
Update test_smoke.py
1 parent 8daddce commit cf88fd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_smoke.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
def test_readme_exists():
55
assert (pathlib.Path(__file__).parents[1] / "README.md").exists()
66

7-
def test_demo_imports():
8-
# Should import without importing gradio (UI import is lazy)
7+
def test_gradio_demo_module_is_present():
8+
# this does not import the module, so it will not run code or need deps
99
spec = importlib.util.find_spec("gradio_demo")
1010
assert spec is not None

0 commit comments

Comments
 (0)