2006-11-16 14:45:29 +08:00
|
|
|
# -*- coding: utf-8 -*-
|
2007-09-20 07:40:47 +08:00
|
|
|
from extra import tests as extra_tests
|
|
|
|
from forms import tests as form_tests
|
2007-10-28 13:40:26 +08:00
|
|
|
from error_messages import tests as custom_error_message_tests
|
2007-09-20 07:40:47 +08:00
|
|
|
from localflavor.ar import tests as localflavor_ar_tests
|
2008-07-26 12:25:42 +08:00
|
|
|
from localflavor.at import tests as localflavor_at_tests
|
2007-09-20 07:40:47 +08:00
|
|
|
from localflavor.au import tests as localflavor_au_tests
|
|
|
|
from localflavor.br import tests as localflavor_br_tests
|
|
|
|
from localflavor.ca import tests as localflavor_ca_tests
|
|
|
|
from localflavor.ch import tests as localflavor_ch_tests
|
|
|
|
from localflavor.cl import tests as localflavor_cl_tests
|
2009-02-22 15:51:57 +08:00
|
|
|
from localflavor.cz import tests as localflavor_cz_tests
|
2007-09-20 07:40:47 +08:00
|
|
|
from localflavor.de import tests as localflavor_de_tests
|
2007-10-20 17:16:54 +08:00
|
|
|
from localflavor.es import tests as localflavor_es_tests
|
2007-09-20 07:40:47 +08:00
|
|
|
from localflavor.fi import tests as localflavor_fi_tests
|
|
|
|
from localflavor.fr import tests as localflavor_fr_tests
|
|
|
|
from localflavor.generic import tests as localflavor_generic_tests
|
2010-01-02 05:34:50 +08:00
|
|
|
from localflavor.id import tests as localflavor_id_tests
|
2010-01-02 05:33:00 +08:00
|
|
|
from localflavor.ie import tests as localflavor_ie_tests
|
2010-10-15 10:58:10 +08:00
|
|
|
from localflavor.il import IsraelLocalFlavorTests
|
2007-09-20 07:40:47 +08:00
|
|
|
from localflavor.is_ import tests as localflavor_is_tests
|
|
|
|
from localflavor.it import tests as localflavor_it_tests
|
|
|
|
from localflavor.jp import tests as localflavor_jp_tests
|
2010-01-02 05:32:24 +08:00
|
|
|
from localflavor.kw import tests as localflavor_kw_tests
|
2007-09-20 07:40:47 +08:00
|
|
|
from localflavor.nl import tests as localflavor_nl_tests
|
|
|
|
from localflavor.pl import tests as localflavor_pl_tests
|
2010-01-02 05:35:26 +08:00
|
|
|
from localflavor.pt import tests as localflavor_pt_tests
|
2008-07-20 03:22:44 +08:00
|
|
|
from localflavor.ro import tests as localflavor_ro_tests
|
2009-12-23 05:10:40 +08:00
|
|
|
from localflavor.se import tests as localflavor_se_tests
|
2007-09-20 07:40:47 +08:00
|
|
|
from localflavor.sk import tests as localflavor_sk_tests
|
|
|
|
from localflavor.uk import tests as localflavor_uk_tests
|
|
|
|
from localflavor.us import tests as localflavor_us_tests
|
2010-01-02 05:31:47 +08:00
|
|
|
from localflavor.uy import tests as localflavor_uy_tests
|
2007-12-03 02:43:01 +08:00
|
|
|
from localflavor.za import tests as localflavor_za_tests
|
2007-09-20 07:40:47 +08:00
|
|
|
from regressions import tests as regression_tests
|
|
|
|
from util import tests as util_tests
|
|
|
|
from widgets import tests as widgets_tests
|
2008-07-19 07:54:34 +08:00
|
|
|
from formsets import tests as formset_tests
|
|
|
|
from media import media_tests
|
2006-10-29 04:34:37 +08:00
|
|
|
|
2009-12-14 06:00:26 +08:00
|
|
|
from fields import FieldsTests
|
2010-01-05 11:56:19 +08:00
|
|
|
from validators import TestFieldWithValidators
|
2010-10-01 10:02:58 +08:00
|
|
|
from widgets import WidgetTests, ClearableFileInputTests
|
2010-10-12 07:35:23 +08:00
|
|
|
from localflavor.be import BETests
|
2009-12-14 06:00:26 +08:00
|
|
|
|
2010-08-05 20:50:30 +08:00
|
|
|
from input_formats import *
|
|
|
|
|
2007-04-01 12:40:36 +08:00
|
|
|
__test__ = {
|
2007-09-20 07:40:47 +08:00
|
|
|
'extra_tests': extra_tests,
|
2007-04-01 12:40:36 +08:00
|
|
|
'form_tests': form_tests,
|
2007-10-28 13:40:26 +08:00
|
|
|
'custom_error_message_tests': custom_error_message_tests,
|
2007-09-20 07:40:47 +08:00
|
|
|
'localflavor_ar_tests': localflavor_ar_tests,
|
2008-07-26 12:25:42 +08:00
|
|
|
'localflavor_at_tests': localflavor_at_tests,
|
2007-09-20 07:40:47 +08:00
|
|
|
'localflavor_au_tests': localflavor_au_tests,
|
|
|
|
'localflavor_br_tests': localflavor_br_tests,
|
|
|
|
'localflavor_ca_tests': localflavor_ca_tests,
|
|
|
|
'localflavor_ch_tests': localflavor_ch_tests,
|
|
|
|
'localflavor_cl_tests': localflavor_cl_tests,
|
2009-02-22 15:51:57 +08:00
|
|
|
'localflavor_cz_tests': localflavor_cz_tests,
|
2007-09-20 07:40:47 +08:00
|
|
|
'localflavor_de_tests': localflavor_de_tests,
|
2007-10-20 17:16:54 +08:00
|
|
|
'localflavor_es_tests': localflavor_es_tests,
|
2007-09-20 07:40:47 +08:00
|
|
|
'localflavor_fi_tests': localflavor_fi_tests,
|
|
|
|
'localflavor_fr_tests': localflavor_fr_tests,
|
|
|
|
'localflavor_generic_tests': localflavor_generic_tests,
|
2010-01-02 05:34:50 +08:00
|
|
|
'localflavor_id_tests': localflavor_id_tests,
|
2010-01-02 05:33:00 +08:00
|
|
|
'localflavor_ie_tests': localflavor_ie_tests,
|
2007-09-20 07:40:47 +08:00
|
|
|
'localflavor_is_tests': localflavor_is_tests,
|
|
|
|
'localflavor_it_tests': localflavor_it_tests,
|
|
|
|
'localflavor_jp_tests': localflavor_jp_tests,
|
2010-01-02 05:32:24 +08:00
|
|
|
'localflavor_kw_tests': localflavor_kw_tests,
|
2007-09-20 07:40:47 +08:00
|
|
|
'localflavor_nl_tests': localflavor_nl_tests,
|
|
|
|
'localflavor_pl_tests': localflavor_pl_tests,
|
2010-01-02 05:35:26 +08:00
|
|
|
'localflavor_pt_tests': localflavor_pt_tests,
|
2008-07-20 03:22:44 +08:00
|
|
|
'localflavor_ro_tests': localflavor_ro_tests,
|
2009-12-23 05:10:40 +08:00
|
|
|
'localflavor_se_tests': localflavor_se_tests,
|
2007-09-20 07:40:47 +08:00
|
|
|
'localflavor_sk_tests': localflavor_sk_tests,
|
|
|
|
'localflavor_uk_tests': localflavor_uk_tests,
|
|
|
|
'localflavor_us_tests': localflavor_us_tests,
|
2010-01-02 05:31:47 +08:00
|
|
|
'localflavor_uy_tests': localflavor_uy_tests,
|
2007-12-03 02:43:01 +08:00
|
|
|
'localflavor_za_tests': localflavor_za_tests,
|
2007-11-14 20:58:53 +08:00
|
|
|
'regression_tests': regression_tests,
|
2008-07-19 07:54:34 +08:00
|
|
|
'formset_tests': formset_tests,
|
|
|
|
'media_tests': media_tests,
|
2007-09-14 10:01:11 +08:00
|
|
|
'util_tests': util_tests,
|
2007-09-20 07:40:47 +08:00
|
|
|
'widgets_tests': widgets_tests,
|
2007-04-01 12:40:36 +08:00
|
|
|
}
|
|
|
|
|
2006-10-29 04:34:37 +08:00
|
|
|
if __name__ == "__main__":
|
|
|
|
import doctest
|
|
|
|
doctest.testmod()
|