Having expected HTML in separate files makes and not Python code makes it easier to read. This also eases reviewing the tests as they can more easily be opened in a browser.
Adding support for Django 5.0 will need multiple versions of tests given accessibility changes. Doing this first will allow tests to be more easily updated than adding even more large batches of HTML in Python files.
Having expected HTML in separate files makes and not Python code makes it easier to read. This also eases reviewing the tests as they can more easily be opened in a browser.
Adding support for Django 5.0 will need multiple versions of tests given accessibility changes. Doing this first will allow tests to be more easily updated than adding even more large batches of HTML in Python files.