Skip to content

Commit

Permalink
remove duplicate test
Browse files Browse the repository at this point in the history
  • Loading branch information
zoghbi-a committed Oct 18, 2023
1 parent 1b59461 commit 6c0bb96
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions pyvo/utils/tests/test_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,18 +100,6 @@ def test_http_download__wPath(http_mock):
os.remove('basic2.xml')


def test_http_download__wCache(http_mock, capsys):
filename1 = http_download('http://example.com/data/basic.xml',
local_filepath=None, cache=False)
assert filename1 == 'basic.xml'

filename2 = http_download('http://example.com/data/basic.xml',
local_filepath=None, cache=True, verbose=True)
assert filename1 == filename2
assert 'Found cached file' in capsys.readouterr().out
os.remove('basic.xml')


def test_http_download__wrong_cache(http_mock):
# get the file first
with open('basic.xml', 'w') as fp:
Expand Down

0 comments on commit 6c0bb96

Please sign in to comment.