Skip to content

Commit 3799997

Browse files
committed
Remove fixed xfails from OAC tests
1 parent be0938f commit 3799997

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

astroquery/oac/tests/test_oac_remote.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,25 +59,27 @@ def test_query_region_box_json(self):
5959
data_format='json')
6060
assert isinstance(phot, dict)
6161

62-
@pytest.mark.xfail(reason="Upstream API issue. See #1130")
6362
def test_get_photometry(self):
6463
phot = OAC.get_photometry(event="SN2014J")
6564
assert isinstance(phot, Table)
65+
assert len(phot) > 0
6666

6767
def test_get_photometry_b(self):
6868
phot = OAC.get_photometry(event="SN2014J")
6969
assert isinstance(phot, Table)
70+
assert len(phot) > 0
7071

71-
@pytest.mark.xfail(reason="Upstream API issue. See #1130")
7272
def test_get_single_spectrum(self):
7373
spec = OAC.get_single_spectrum(event="SN2014J",
7474
time=self.test_time)
7575
assert isinstance(spec, Table)
76+
assert len(spec) > 0
7677

7778
def test_get_single_spectrum_b(self):
7879
test_time = 56680
7980
spec = OAC.get_single_spectrum(event="SN2014J", time=test_time)
8081
assert isinstance(spec, Table)
82+
assert len(spec) > 0
8183

8284
def test_get_spectra(self):
8385
spec = OAC.get_spectra(event="SN2014J")

0 commit comments

Comments
 (0)