lsst.dax.apdb gbebdf9febd+c3ebd5ff3c
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:

Public Member Functions

ApdbConfig make_config (self, **Any kwargs)
 
None test_schema_add_history (self)
 

Static Public Attributes

 visit_time = DateTime("2021-01-01T00:00:00", DateTime.TAI)
 

Detailed Description

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

Member Function Documentation

◆ make_config()

ApdbConfig lsst.dax.apdb.tests._apdb.ApdbSchemaUpdateTest.make_config (   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_history()

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

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