Skip to content

Commit

Permalink
Merge pull request #476 from lsst/tickets/DM-41235
Browse files Browse the repository at this point in the history
DM-41235: Update test to use SqlRegistry instead of Registry
  • Loading branch information
andy-slac committed Oct 26, 2023
2 parents 2a96326 + 4e64ead commit b615260
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_packer.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@

import unittest

from lsst.daf.butler import DataCoordinate, Registry, RegistryConfig
from lsst.daf.butler import DataCoordinate, RegistryConfig
from lsst.daf.butler.registry.sql_registry import SqlRegistry
from lsst.obs.lsst import (
Latiss,
LsstCam,
Expand Down Expand Up @@ -54,7 +55,7 @@ class RubinDimensionPackerTestCase(unittest.TestCase):
def setUp(self) -> None:
registry_config = RegistryConfig()
registry_config["db"] = "sqlite://"
self.registry = Registry.createFromConfig(registry_config)
self.registry = SqlRegistry.createFromConfig(registry_config)
self.rubin_packer_instruments = [LsstCam, LsstComCam, Latiss]
self.old_packer_instruments = [
LsstCamImSim,
Expand Down

0 comments on commit b615260

Please sign in to comment.