lsst.dax.apdb g295015adf3+88246b6574
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
lsst.dax.apdb.tests._apdb.ApdbSchemaUpdateTest Class Reference
Inheritance diagram for lsst.dax.apdb.tests._apdb.ApdbSchemaUpdateTest:
lsst.dax.apdb.tests._apdb.TestCaseMixin

Public Member Functions

ApdbConfig make_instance (self, **Any kwargs)
 
None test_schema_add_replica (self)
 
None test_schemaVersionCheck (self)
 

Static Public Attributes

 visit_time = astropy.time.Time("2021-01-01T00:00:00", format="isot", scale="tai")
 

Detailed Description

Base class for unit tests that verify how schema changes work.

Member Function Documentation

◆ make_instance()

ApdbConfig lsst.dax.apdb.tests._apdb.ApdbSchemaUpdateTest.make_instance ( self,
**Any kwargs )
Make config class instance used in all tests.

This method should return configuration that point to the identical
database instance on each call (i.e. ``db_url`` must be the same,
which also means for sqlite it has to use on-disk storage).

◆ test_schema_add_replica()

None lsst.dax.apdb.tests._apdb.ApdbSchemaUpdateTest.test_schema_add_replica ( self)
Check that new code can work with old schema without replica
tables.

◆ test_schemaVersionCheck()

None lsst.dax.apdb.tests._apdb.ApdbSchemaUpdateTest.test_schemaVersionCheck ( self)
Check version number compatibility.

The documentation for this class was generated from the following file: