diff --git a/core/tests/test_templatetags.py b/core/tests/test_templatetags.py new file mode 100644 index 0000000..a6f6f4a --- /dev/null +++ b/core/tests/test_templatetags.py @@ -0,0 +1,9 @@ +import pytest + +from core.models import DayOfMonth +from core.templatetags import core_extras + + +def test_verbose_name(): + instance = DayOfMonth() + assert "day of month" == core_extras.verbose_name(instance)