Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | 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.
Overview¶
Making migration dumps¶
Testing migration dumps¶
- test_restore.py¶
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.