Skip to content

Commit 58db663

Browse files
author
Jon Wayne Parrott
authored
* Remove resource fixture * Remove remote resource
1 parent 636d6c0 commit 58db663

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

samples/snippets/face_detection/faces_test.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@
1717

1818
from faces import main
1919

20+
RESOURCES = os.path.join(os.path.dirname(__file__), 'resources')
2021

21-
def test_main(resource, tmpdir):
22+
23+
def test_main(tmpdir):
2224
out_file = os.path.join(tmpdir.dirname, 'face-output.jpg')
23-
in_file = resource('face-input.jpg')
25+
in_file = os.path.join(RESOURCES, 'face-input.jpg')
2426

2527
# Make sure there isn't already a green box
2628
im = Image.open(in_file)

0 commit comments

Comments
 (0)