bihealth / sodar-core

SODAR Core: A Django-based framework for building scientific data management web apps
MIT License
9 stars 1 forks source link

Move AppLinkContent tests to utils tests #1470

Closed mikkonie closed 1 week ago

mikkonie commented 1 month ago

In template tag tests, we should only test that the template tag corresponds to output retrieved from the AppLinkContent helper. Tests for the helper itself should go to projectroles.tests.test_utils.

Similarly, related tests in test_views_ajax should be simplified to avoid unnecessary repetition.

mikkonie commented 1 week ago

Done. I also added tests for a bunch of untested functionality.