Skip to content

Commit 52e7cb9

Browse files
author
Fabio Silva
committed
Biblioteca PytestMock.
1 parent a066002 commit 52e7cb9

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

libpythonpro_fls/tests/test_spam/test_github_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def avatar_url(mocker):
1515
}
1616
get_mock = mocker.patch('libpythonpro_fls.github_api.requests.get')
1717
get_mock.return_value = resp_mock
18-
return url
18+
yield url
1919

2020

2121
def test_buscar_avatar(avatar_url):

requirements.txt

26 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)