django-crispy-forms / crispy-tailwind

A Tailwind template pack for django-crispy-forms
MIT License
329 stars 56 forks source link

Moved HTML in tests to separate files. #141

Closed smithdc1 closed 8 months ago

smithdc1 commented 8 months ago

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.

carltongibson commented 8 months ago

Nice. Makes sense.