Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
audiodude committed Aug 17, 2024
1 parent 78174e2 commit 455b45f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wp1/scores_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ def test_download_pageviews(self, mock_get_response, mock_datetime):
mock_get_response.return_value = context

file_path = scores.get_cur_file_path()
os.remove(file_path)
if os.path.exists(file_path):
os.remove(file_path)

scores.download_pageviews()

Expand Down

0 comments on commit 455b45f

Please sign in to comment.