tests Package¶
tests
Package¶
test_builtin
Module¶
ベースクラス:
django.test.testcases.TestCase
kfmがbuilt in template-filter化されている
test_expr
Module¶
ベースクラス:
django.test.testcases.TestCase
expr タグを利用して計算結果を代入可能
test_strip_newlines
Module¶
ベースクラス:
django.test.testcases.TestCase
strip_newlinesフィルタで改行文字の置換が可能
test_utils
Module¶
ベースクラス:
django.test.testcases.TestCase
activeタグのpatternが現在のURLとマッチしたとき、activeの文字を返す
activeタグはGETパラメータの値も含む
activeタグのpatternが現在のURLとマッチしないとき、空白文字を返す
ベースクラス:
django.test.testcases.TestCase
get_current_siteで現在のSiteを返す
ベースクラス:
django.test.testcases.TestCase
get_week_dayで土曜だったときにsaturdayを返す
get_week_dayで日曜だったときにsundayを返す
get_week_dayで平日だったときにweekdayを返す