Skip to content

Commit e5d89d3

Browse files
author
Fabio Silva
committed
colocado dependencias no requirements-dev.txt.
pytest-mock==3.7.0 pyparsing==2.4.7 packaging==21.3
1 parent fbf9277 commit e5d89d3

2 files changed

Lines changed: 4 additions & 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-
yield url
18+
return url
1919

2020

2121
def test_buscar_avatar(avatar_url):

requirements-dev.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@ six==1.16.0
1616
codecov==2.1.12
1717
coverage==6.3.1
1818
pytest-cov==3.0.0
19+
pytest-mock==3.7.0
20+
pyparsing==2.4.7
21+
packaging==21.3
1922

2023
-r requirements.txt

0 commit comments

Comments
 (0)