Welcome | Get started | Dive into Lino | Contribute | Reference | More

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.


Making migration dumps

Testing migration dumps


A typical 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 tested_versions attribute.