Bugfix ecallisto client #61
Build #sunpy.radiospectra_20231117.04 had test failures
Details
- Failed: 8 (1.96%)
- Passed: 360 (88.24%)
- Other: 40 (9.80%)
- Total: 408
Annotations
Check failure on line 27 in Build log
azure-pipelines / sunpy.radiospectra
Build log #L27
Bash exited with code '2'.
Check failure on line 853 in Build log
azure-pipelines / sunpy.radiospectra
Build log #L853
Bash exited with code '1'.
Check failure on line 1 in test_get_url_for_time_range
azure-pipelines / sunpy.radiospectra
test_get_url_for_time_range
AssertionError: assert 'https://spdf.gsfc.nasa.gov/pub/data/psp/fields/l2/rfs_lfr/2019/psp_fld_l2_rfs_lfr_20191001_v03.cdf' == 'https://spdf.gsfc.nasa.gov/pub/data/psp/fields/l2/rfs_lfr/2019/psp_fld_l2_rfs_lfr_20191001_v02.cdf'
- https://spdf.gsfc.nasa.gov/pub/data/psp/fields/l2/rfs_lfr/2019/psp_fld_l2_rfs_lfr_20191001_v02.cdf
? ^
+ https://spdf.gsfc.nasa.gov/pub/data/psp/fields/l2/rfs_lfr/2019/psp_fld_l2_rfs_lfr_20191001_v03.cdf
? ^
Raw output
client = <radiospectra.net.sources.psp.RFSClient object at 0x7fc42f1192e0>
radiospectra.net.sources.psp.RFSClient
Provides acc...
Provider SPDF NASA Goddard Space Physics Data Facility
Wavelength All All valid values
@pytest.mark.remote_data
def test_get_url_for_time_range(client):
url_start = "https://spdf.gsfc.nasa.gov/pub/data/psp/fields/l2/rfs_lfr/2019/" "psp_fld_l2_rfs_lfr_20191001_v02.cdf"
url_end = "https://spdf.gsfc.nasa.gov/pub/data/psp/fields/l2/rfs_hfr/2019/" "psp_fld_l2_rfs_hfr_20191015_v02.cdf"
tr = a.Time("2019/10/01", "2019/10/15")
res = client.search(tr)
urls = [i["url"] for i in res]
> assert urls[0] == url_start
E AssertionError: assert 'https://spdf.gsfc.nasa.gov/pub/data/psp/fields/l2/rfs_lfr/2019/psp_fld_l2_rfs_lfr_20191001_v03.cdf' == 'https://spdf.gsfc.nasa.gov/pub/data/psp/fields/l2/rfs_lfr/2019/psp_fld_l2_rfs_lfr_20191001_v02.cdf'
E - https://spdf.gsfc.nasa.gov/pub/data/psp/fields/l2/rfs_lfr/2019/psp_fld_l2_rfs_lfr_20191001_v02.cdf
E ? ^
E + https://spdf.gsfc.nasa.gov/pub/data/psp/fields/l2/rfs_lfr/2019/psp_fld_l2_rfs_lfr_20191001_v03.cdf
E ? ^
../../.tox/py39-online/lib/python3.9/site-packages/radiospectra/net/sources/tests/test_psp_client.py:98: AssertionError
Check failure on line 1 in test_fido
azure-pipelines / sunpy.radiospectra
test_fido
assert 0 == 8
+ where 0 = len(<sunpy.net.dataretriever.client.QueryResponse object at 0x7fb5aaa451f0>\n<No columns>)
Raw output
@pytest.mark.remote_data
def test_fido():
atr = a.Time("2010/10/01", "2010/10/02")
res = Fido.search(atr, a.Instrument("swaves"))
assert isinstance(res[1].client, SWAVESClient)
> assert len(res[1]) == 8
E assert 0 == 8
E + where 0 = len(<sunpy.net.dataretriever.client.QueryResponse object at 0x7fb5aaa451f0>\n<No columns>)
../../.tox/py39-online/lib/python3.9/site-packages/radiospectra/net/sources/tests/test_stereo_client.py:28: AssertionError
Check failure on line 1 in radiospectra.net.sources.stereo.SWAVESClient
azure-pipelines / sunpy.radiospectra
radiospectra.net.sources.stereo.SWAVESClient
022 Provides access to `STEREO S-WAVES <https://swaves.gsfc.nasa.gov/swaves_instr.html>`__ radio
023 `data archive <https://solar-radio.gsfc.nasa.gov/data/stereo>`__.
024
025 Examples
026 --------
027 >>> import radiospectra.net
028 >>> from sunpy.net import Fido, attrs as a
029 >>> results = Fido.search(a.Time("2010/10/01", "2010/10/02"),
030 ... a.Instrument('SWAVES')) # doctest: +REMOTE_DATA
031 >>> results[1] #doctest: +REMOTE_DATA
Expected:
<sunpy.net.dataretriever.client.QueryResponse object at ...>
Start Time End Time ... Provider Wavelength
... kHz
----------------------- ----------------------- ... -------- ----------------
2010-10-01 00:00:00.000 2010-10-01 23:59:59.999 ... NASA 10.0 .. 160.0
2010-10-02 00:00:00.000 2010-10-02 23:59:59.999 ... NASA 10.0 .. 160.0
2010-10-01 00:00:00.000 2010-10-01 23:59:59.999 ... NASA 125.0 .. 16000.0
2010-10-02 00:00:00.000 2010-10-02 23:59:59.999 ... NASA 125.0 .. 16000.0
2010-10-01 00:00:00.000 2010-10-01 23:59:59.999 ... NASA 10.0 .. 160.0
2010-10-02 00:00:00.000 2010-10-02 23:59:59.999 ... NASA 10.0 .. 160.0
2010-10-01 00:00:00.000 2010-10-01 23:59:59.999 ... NASA 125.0 .. 16000.0
2010-10-02 00:00:00.000 2010-10-02 23:59:59.999 ... NASA 125.0 .. 16000.0
Got:
<sunpy.net.dataretriever.client.QueryResponse object at 0x7fc3d6e947f0>
<No columns>
/home/vsts/work/1/s/.tox/py39-online/lib/python3.9/site-packages/radiospectra/net/sources/stereo.py:31: DocTestFailure
Raw output
022 Provides access to `STEREO S-WAVES <https://swaves.gsfc.nasa.gov/swaves_instr.html>`__ radio
023 `data archive <https://solar-radio.gsfc.nasa.gov/data/stereo>`__.
024
025 Examples
026 --------
027 >>> import radiospectra.net
028 >>> from sunpy.net import Fido, attrs as a
029 >>> results = Fido.search(a.Time("2010/10/01", "2010/10/02"),
030 ... a.Instrument('SWAVES')) # doctest: +REMOTE_DATA
031 >>> results[1] #doctest: +REMOTE_DATA
Expected:
<sunpy.net.dataretriever.client.QueryResponse object at ...>
Start Time End Time ... Provider Wavelength
... kHz
----------------------- ----------------------- ... -------- ----------------
2010-10-01 00:00:00.000 2010-10-01 23:59:59.999 ... NASA 10.0 .. 160.0
2010-10-02 00:00:00.000 2010-10-02 23:59:59.999 ... NASA 10.0 .. 160.0
2010-10-01 00:00:00.000 2010-10-01 23:59:59.999 ... NASA 125.0 .. 16000.0
2010-10-02 00:00:00.000 2010-10-02 23:59:59.999 ... NASA 125.0 .. 16000.0
2010-10-01 00:00:00.000 2010-10-01 23:59:59.999 ... NASA 10.0 .. 160.0
2010-10-02 00:00:00.000 2010-10-02 23:59:59.999 ... NASA 10.0 .. 160.0
2010-10-01 00:00:00.000 2010-10-01 23:59:59.999 ... NASA 125.0 .. 16000.0
2010-10-02 00:00:00.000 2010-10-02 23:59:59.999 ... NASA 125.0 .. 16000.0
Got:
<sunpy.net.dataretriever.client.QueryResponse object at 0x7fc3d6e947f0>
<No columns>
/home/vsts/work/1/s/.tox/py39-online/lib/python3.9/site-packages/radiospectra/net/sources/stereo.py:31: DocTestFailure
Check failure on line 1 in test_fido
azure-pipelines / sunpy.radiospectra
test_fido
assert 0 == 4
+ where 0 = len(<sunpy.net.dataretriever.client.QueryResponse object at 0x7fc42ca09250>\n<No columns>)
Raw output
@pytest.mark.remote_data
def test_fido():
atr = a.Time("2010/10/01", "2010/10/02")
res = Fido.search(atr, a.Instrument("waves"))
assert isinstance(res[0].client, WAVESClient)
> assert len(res[0]) == 4
E assert 0 == 4
E + where 0 = len(<sunpy.net.dataretriever.client.QueryResponse object at 0x7fc42ca09250>\n<No columns>)
../../.tox/py39-online/lib/python3.9/site-packages/radiospectra/net/sources/tests/test_wind_client.py:27: AssertionError