code: def test_from_file():
      script = AppTest.from_file("../test_data/widgets_script.py")
      script.run()
  
file_path: streamlit/lib/tests/streamlit/testing/app_test_test.py
imports: import pytest
  from streamlit.testing.v1 import AppTest
label_desc: Use image node_id 2 for calling a global function with example usage: test_from_file() without return types