-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Milestone
Description
The template views currently only test that the correct template is used, but do not test any of the contents of the rendered page.
Implementation options:
- The
requestobject returned in Django tests can be investigated as a string (ie using regex), however this approach is limited - One more complete approach to writing these tests is to use BeautifulSoup, like in the following example PR: Use Beautifulsoup for beautiful HTML tests ImperialCollegeLondon/imperial_coldfront_plugin#308
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
👀 In review