Skip to content

Commit

Permalink
Removed unused dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
arturogonzalezm committed Jul 19, 2024
1 parent ae02a8e commit 0a404f0
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions tests/test_world_bank_data_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,9 @@ def mocked_requests_get(url):


@patch('requests.get', side_effect=mocked_requests_get)
def test_get_country_codes(mock_get, downloader):
def test_get_country_codes(downloader):
"""
This function tests the get_country_codes method of WorldBankDataDownloader.
:param mock_get: Mocked requests.get function.
:type mock_get: MagicMock
:param downloader: WorldBankDataDownloader instance.
:type downloader: WorldBankDataDownloader
"""
Expand All @@ -75,11 +73,9 @@ def test_get_country_codes(mock_get, downloader):


@patch('requests.get', side_effect=mocked_requests_get)
def test_get_indicators(mock_get, downloader):
def test_get_indicators(downloader):
"""
This function tests the get_indicators method of WorldBankDataDownloader.
:param mock_get: Mocked requests.get function.
:type mock_get: MagicMock
:param downloader: WorldBankDataDownloader instance.
:type downloader: WorldBankDataDownloader
"""
Expand All @@ -103,11 +99,9 @@ def test_fetch_data(mock_get, downloader):


@patch('requests.get', side_effect=mocked_requests_get)
def test_download_all_data(mock_get, downloader):
def test_download_all_data(downloader):
"""
This function tests the download_all_data method of WorldBankDataDownloader.
:param mock_get: Mocked requests.get function.
:type mock_get: MagicMock
:param downloader: WorldBankDataDownloader instance.
:type downloader: WorldBankDataDownloader
"""
Expand Down

0 comments on commit 0a404f0

Please sign in to comment.