test: test that /packages/{name} produces the package's description

This commit fixes two of our tests in test_templates.py to go along
with our new template modifications, as well as a new test in
test_packages_routes.py which constructs two packages belonging
to the same package base, then tests that viewing their pages
produces their independent descriptions.

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2022-09-05 19:50:41 -07:00
parent 0388b12896
commit 25e05830a6
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
3 changed files with 47 additions and 3 deletions

View file

@ -17,7 +17,7 @@
</a>
</td>
</tr>
<tr>
<tr id="pkg-description">
<th>{{ "Description" | tr }}:</th>
<td class="wrap">{{ package.Description }}</td>
</tr>