Skip to content
This repository was archived by the owner on Jan 26, 2022. It is now read-only.

Commit 12be18c

Browse files
committed
Fix cassini tests
1 parent fcb54ff commit 12be18c

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

heliopy/data/test/test_cassini.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
pytest.mark.data()
66
cassini = pytest.importorskip("heliopy.data.cassini")
77

8+
89
def test_mag_hires():
9-
starttime = datetime(2008, 6, 1, 0, 0, 0)
10-
endtime = datetime(2008, 6, 2, 1, 0, 0)
10+
starttime = datetime(2002, 2, 1)
11+
endtime = datetime(2002, 2, 1, 1)
1112
df = cassini.mag_hires(starttime, endtime)
1213
check_data_output(df)
1314

1415
# Check that a RTN co-ordinate download works too
15-
starttime = datetime(2004, 5, 1)
16-
endtime = datetime(2004, 5, 2)
16+
starttime = datetime(2001, 1, 1)
17+
endtime = datetime(2001, 1, 1, 23)
1718
df = cassini.mag_hires(starttime, endtime)
1819
check_data_output(df)
1920

@@ -25,7 +26,7 @@ def test_mag_hires():
2526

2627

2728
def test_mag_1min():
28-
starttime = datetime(2008, 6, 1, 0, 0, 0)
29-
endtime = datetime(2008, 6, 2, 1, 0, 0)
29+
starttime = datetime(2008, 6, 1)
30+
endtime = datetime(2008, 6, 2, 23)
3031
df = cassini.mag_1min(starttime, endtime, 'KSO')
3132
check_data_output(df)

0 commit comments

Comments
 (0)