backend.globaleaks.tests.test_migration

Test database migrations.

for each version one an empty and a populated db must be sessiond in directories:
  • db/empty
  • db/populated

Module Contents

Functions

test(path, version)
class backend.globaleaks.tests.test_migration.TestMigrationRoutines[source]

Bases: twisted.trial.unittest.TestCase

_test(self, path, version)[source]
backend.globaleaks.tests.test_migration.test(path, version)[source]
backend.globaleaks.tests.test_migration.path[source]