lsst.dax.apdb gd2a12a3803+c2a56858ff
|
Public Member Functions | |
ApdbConfig | make_instance (self, **Any kwargs) |
None | test_schema_add_history (self) |
None | test_schemaVersionCheck (self) |
Static Public Attributes | |
visit_time = astropy.time.Time("2021-01-01T00:00:00", format="isot", scale="tai") | |
Base class for unit tests that verify how schema changes work.
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).
None lsst.dax.apdb.tests._apdb.ApdbSchemaUpdateTest.test_schema_add_history | ( | self | ) |
Check that new code can work with old schema without history tables.
None lsst.dax.apdb.tests._apdb.ApdbSchemaUpdateTest.test_schemaVersionCheck | ( | self | ) |
Check version number compatibility.