armi.migration.tests.test_migration_base module
Test base migration classes.
- class armi.migration.tests.test_migration_base.MockMigration1(stream=None, path=None)[source]
Bases:
MigrationMigration defined for unit tests only.
- property fromVersion
- property toVersion
- class armi.migration.tests.test_migration_base.MockSettingsMigration1(stream=None, path=None)[source]
Bases:
SettingsMigrationSettingsMigration defined for unit tests only.
- property fromVersion
- property toVersion
- class armi.migration.tests.test_migration_base.BrokenDatabaseMigration1(stream=None, path=None)[source]
Bases:
DatabaseMigrationFor testing purposes only, fromVersion and toVersion are invalid.
- property fromVersion
- property toVersion
- class armi.migration.tests.test_migration_base.TestMigrationBases(methodName='runTest')[source]
Bases:
TestCaseCreate an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.