File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ linelists.cdms
1414- Add whole catalog retrieval, improve error messaging for unparseable lines,
1515 improve metadata catalog, and improve lookuptable behavior [#3173,#2901]
1616
17+ heasarc
18+ ^^^^^^^
19+
20+ - Fix Heasarc.download_data for Sciserver. [#3183]
21+
1722jplspec
1823^^^^^^^
1924
@@ -69,7 +74,6 @@ Infrastructure, Utility and Other Changes and Additions
6974-------------------------------------------------------
7075
7176
72-
73770.4.8 (2025-01-16)
7478==================
7579
Original file line number Diff line number Diff line change 11# Licensed under a 3-clause BSD style license - see LICENSE.rst
22
33import os
4- import shutil
54import pytest
65import tempfile
76from unittest .mock import patch , PropertyMock
@@ -304,6 +303,7 @@ def test_download_data__missingcolumn(host):
304303 ):
305304 Heasarc .download_data (Table ({"id" : [1 ]}), host = host )
306305
306+
307307def test_download_data__sciserver ():
308308 with tempfile .TemporaryDirectory () as tmpdir :
309309 datadir = f'{ tmpdir } /data'
@@ -321,6 +321,7 @@ def test_download_data__sciserver():
321321 assert os .path .exists (f'{ downloaddir } /data' )
322322 assert os .path .exists (f'{ downloaddir } /data/file.txt' )
323323
324+
324325def test_download_data__outside_sciserver ():
325326 with pytest .raises (
326327 FileNotFoundError ,
You can’t perform that action at this time.
0 commit comments