Skip to content

Commit

Permalink
Merge pull request #1372 from dpshelio/jsocTestfilename
Browse files Browse the repository at this point in the history
Checking filenames matches with jsoc filenames
  • Loading branch information
Cadair committed Apr 8, 2015
2 parents df4a3dd + 85ccee6 commit be50389
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sunpy/net/jsoc/tests/test_jsoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
@author: stuart
"""
import os
import time
import tempfile
import datetime
Expand Down Expand Up @@ -220,6 +221,8 @@ def test_results_filenames():
assert isinstance(aa, Results)
files = aa.wait()
assert len(files) == len(responses)
for hmiurl in aa.map_:
assert os.path.basename(hmiurl) == os.path.basename(aa.map_[hmiurl]['path'])

@pytest.mark.online
def test_invalid_query():
Expand Down

0 comments on commit be50389

Please sign in to comment.