.. _dev.migtest: =============== Migration tests =============== Migration tests are a special test case in every demo project for applications for which we offer migration support. So that these applications can be used for stable hosting. Overview ======== - :manage:`makemigdump` - :xfile:`test_restore.py` Making migration dumps ====================== Testing migration dumps ======================= .. xfile:: test_restore.py A typical :xfile:`test_restore.py` file contains only something like this:: from lino.utils.djangotest import RestoreTestCase class TestCase(RestoreTestCase): tested_versions = ['18.8.0'] Note the :attr:`tested_versions ` attribute.