Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
marianoeramirez committed Jul 8, 2024
1 parent 90df467 commit b4497f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cities_light/tests/test_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def test_download(self, m_check, m_need):

with mock.patch('cities_light.downloader.urlopen',
return_value=tmpfile):
module_name = '{}.b.open'.format(__name__)
module_name = '{}.b.open'.format('cities_light.downloader.urlopen')
mock_open = mock.mock_open()
# The downoader.needs_downloading will return true and last three
# lines of downloader.download will copy the source to sestination
Expand Down

0 comments on commit b4497f7

Please sign in to comment.