File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -59,25 +59,27 @@ def test_query_region_box_json(self):
59
59
data_format = 'json' )
60
60
assert isinstance (phot , dict )
61
61
62
- @pytest .mark .xfail (reason = "Upstream API issue. See #1130" )
63
62
def test_get_photometry (self ):
64
63
phot = OAC .get_photometry (event = "SN2014J" )
65
64
assert isinstance (phot , Table )
65
+ assert len (phot ) > 0
66
66
67
67
def test_get_photometry_b (self ):
68
68
phot = OAC .get_photometry (event = "SN2014J" )
69
69
assert isinstance (phot , Table )
70
+ assert len (phot ) > 0
70
71
71
- @pytest .mark .xfail (reason = "Upstream API issue. See #1130" )
72
72
def test_get_single_spectrum (self ):
73
73
spec = OAC .get_single_spectrum (event = "SN2014J" ,
74
74
time = self .test_time )
75
75
assert isinstance (spec , Table )
76
+ assert len (spec ) > 0
76
77
77
78
def test_get_single_spectrum_b (self ):
78
79
test_time = 56680
79
80
spec = OAC .get_single_spectrum (event = "SN2014J" , time = test_time )
80
81
assert isinstance (spec , Table )
82
+ assert len (spec ) > 0
81
83
82
84
def test_get_spectra (self ):
83
85
spec = OAC .get_spectra (event = "SN2014J" )
You can’t perform that action at this time.
0 commit comments