Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bleudev committed Jun 29, 2024
1 parent eefb6ea commit 991dd33
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/test_github_download.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import unittest
from os import remove
from os import remove, mkdir
from tempfile import gettempdir

import ufpy
Expand All @@ -12,8 +12,10 @@ def test_file(self):
file = 'README.md'

temp_dir = gettempdir()
download_path = rf'{temp_dir}\ufpy-tests'
file_path = rf'{download_path}\README.md'
download_path = f'{temp_dir}/ufpy-tests'
file_path = f'{download_path}/README.md'

mkdir(download_path)

# download_file()
download_file(repo, file, download_path)
Expand Down

0 comments on commit 991dd33

Please sign in to comment.