25
25
pytest .param ("jsoc" , marks = pytest .mark .remote_data ),
26
26
pytest .param (3 , marks = pytest .mark .remote_data ),
27
27
pytest .param (4 , marks = pytest .mark .remote_data ),
28
- pytest .param (5 , marks = pytest .mark .remote_data ),
29
28
pytest .param (6 , marks = pytest .mark .remote_data ),
30
29
pytest .param (7 , marks = pytest .mark .remote_data ),
31
30
pytest .param (8 , marks = pytest .mark .remote_data ),
@@ -106,8 +105,8 @@ def test_pointing_table() -> None:
106
105
f"A_{ c } _IMSCALE" ,
107
106
]
108
107
t = astropy .time .Time ("2011-01-01T00:00:00" , scale = "utc" )
109
- table_lmsal = get_pointing_table (t - 3 * u . h , t + 3 * u . h , source = "lmsal" )
110
- table_jsoc = get_pointing_table (t - 3 * u .h , t + 3 * u .h , source = "jsoc" )
108
+ table_lmsal = get_pointing_table ("lmsal" )
109
+ table_jsoc = get_pointing_table ("jsoc" , start = t - 3 * u .h , end = t + 3 * u .h )
111
110
for table in [table_lmsal , table_jsoc ]:
112
111
assert isinstance (table , astropy .table .QTable )
113
112
assert all (cn in table .colnames for cn in expected_columns )
@@ -124,7 +123,7 @@ def test_pointing_table_unavailable() -> None:
124
123
# Check that missing pointing data raises a nice error
125
124
t = astropy .time .Time ("1990-01-01" )
126
125
with pytest .raises (RuntimeError , match = "Could not find any pointing information" ):
127
- get_pointing_table (t - 3 * u .h , t + 3 * u .h , source = "jsoc" )
126
+ get_pointing_table ("jsoc" , start = t - 3 * u .h , end = t + 3 * u .h )
128
127
129
128
130
129
@pytest .mark .parametrize (
0 commit comments