add test for verbose name filter
This commit is contained in:
parent
49fc10a4dd
commit
c07978fa79
|
@ -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)
|
Loading…
Reference in New Issue