RajaThor commited on
Commit
2bb0da3
·
verified ·
1 Parent(s): cbefc72

Update test_recognize_face.py

Browse files
Files changed (1) hide show
  1. test_recognize_face.py +2 -2
test_recognize_face.py CHANGED
@@ -2,13 +2,13 @@ import streamlit.testing as stt
2
 
3
  def test_recognize_face():
4
  with stt.install_test_input():
5
- stt.test_runner.start("path_to_your_script.py")
6
 
7
  # Select the "Recognize Face" option
8
  stt.test_input("Select Option", "Recognize Face")
9
 
10
  # Upload an image for face recognition
11
- stt.test_input("Upload Image", "path_to_image.jpg")
12
 
13
  # Click the "Recognize Face" button
14
  stt.test_input("Recognize Face")
 
2
 
3
  def test_recognize_face():
4
  with stt.install_test_input():
5
+ stt.test_runner.start("app.py")
6
 
7
  # Select the "Recognize Face" option
8
  stt.test_input("Select Option", "Recognize Face")
9
 
10
  # Upload an image for face recognition
11
+ stt.test_input("Upload Image", "random.jpg")
12
 
13
  # Click the "Recognize Face" button
14
  stt.test_input("Recognize Face")