Skip to content

Commit

Permalink
Skip tests that use oorb
Browse files Browse the repository at this point in the history
  • Loading branch information
rhiannonlynne committed Jan 17, 2025
1 parent 238cf10 commit 01219a0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tests/moving_objects/test_camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from rubin_sim.moving_objects import BaseObs


@unittest.skip("Temporary skip until ephemerides replaced")
class TestCamera(unittest.TestCase):
def setUp(self):
obj_ra = np.array([10.0, 12.1], float)
Expand Down
4 changes: 2 additions & 2 deletions tests/moving_objects/test_chebyfits.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

ROOT = os.path.abspath(os.path.dirname(__file__))


@unittest.skip("Temporary skip until ephemerides replaced")
class TestChebyFits(unittest.TestCase):
def setUp(self):
self.testdir = os.path.join(get_data_dir(), "tests", "orbits_testdata")
Expand Down Expand Up @@ -134,7 +134,7 @@ def test_write(self):
self.assertTrue(os.path.isfile(coeff_name))
self.assertTrue(os.path.isfile(resid_name))


@unittest.skip("Temporary skip until ephemerides replaced")
class TestRun(unittest.TestCase):
def setUp(self):
self.testdir = os.path.join(get_data_dir(), "tests", "orbits_testdata")
Expand Down
4 changes: 2 additions & 2 deletions tests/moving_objects/test_chebyvalues.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

ROOT = os.path.abspath(os.path.dirname(__file__))


@unittest.skip("Temporary skip until ephemerides replaced")
class TestChebyValues(unittest.TestCase):
def setUp(self):
self.testdatadir = os.path.join(get_data_dir(), "tests", "orbits_testdata")
Expand Down Expand Up @@ -148,7 +148,7 @@ def test_get_ephemerides(self):
msg=f"Expected Nan for out of range ephemeris, got {ephemerides['ra'][0]}",
)


@unittest.skip("Temporary skip until ephemerides replaced")
class TestJPLValues(unittest.TestCase):
# Test the interpolation-generated RA/Dec values against JPL
# generated RA/Dec values.
Expand Down
4 changes: 2 additions & 2 deletions tests/moving_objects/test_ephemerides.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from rubin_sim.moving_objects import Orbits, PyOrbEphemerides


@unittest.skip("Temporary skip until ephemerides replaced")
class TestPyOrbEphemerides(unittest.TestCase):
def setUp(self):
self.testdir = os.path.join(get_data_dir(), "tests", "orbits_testdata")
Expand Down Expand Up @@ -152,7 +152,7 @@ def test_ephemeris(self):
for column in ephs_all.dtype.names:
np.testing.assert_allclose(ephs_all_kep[column], ephs_all[column], rtol=1e-5, atol=1e-4)


@unittest.skip("Temporary skip until ephemerides replaced")
class TestJPLValues(unittest.TestCase):
"""Test the oorb generated RA/Dec values against
JPL generated RA/Dec values."""
Expand Down

0 comments on commit 01219a0

Please sign in to comment.