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