aiida.backends.tests.manage.configuration.migrations package

Submodules

Tests for the configuration migration functionality.

class aiida.backends.tests.manage.configuration.migrations.test_migrations.TestConfigMigration(methodName='runTest')[source]

Bases: unittest.case.TestCase

Tests for the configuration migration functionality.

__module__ = 'aiida.backends.tests.manage.configuration.migrations.test_migrations'
static load_config_sample(filename)[source]

Load a configuration file from a fixture.

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_0_1_migration()[source]

Test the step between config versions 0 and 1.

test_1_2_migration()[source]

Test the step between config versions 1 and 2.

test_2_3_migration()[source]

Test the step between config versions 2 and 3.

test_check_and_migrate()[source]

Test the full config migration.