Commit Graph

22 Commits

Author SHA1 Message Date
Emmanuel Garette 89fd367b20 validator's function can have 1 arg, 2 args or 3 args 2017-01-12 21:58:53 +01:00
Emmanuel Garette 18d6976183 copy the context in carry_out_calculation 2017-01-11 22:58:01 +01:00
Emmanuel Garette e6a949635f some improvements 2016-10-10 21:41:22 +02:00
Emmanuel Garette 408e4cf088 better error messages 2016-09-11 20:41:36 +02:00
Emmanuel Garette e8764f6173 remove some try/except + consistency not works with submulti 2016-01-03 13:23:15 +01:00
Emmanuel Garette 3aad913868 check with option as parameter 2015-09-17 21:25:32 +02:00
Emmanuel Garette 5ea92d3460 need new settings when create fake_config 2015-09-17 19:14:56 +02:00
Emmanuel Garette 44cd618704 remove pep8 validation errors 2015-07-24 17:54:10 +02:00
Emmanuel Garette d959020eed ability to disable warnings validation 2015-04-18 23:11:57 +02:00
Emmanuel Garette 5d8b5719a0 Merge branch 'master' into orm
Conflicts:
	test/test_config_api.py
	tiramisu/autolib.py
	tiramisu/config.py
	tiramisu/option.py
	tiramisu/value.py
2014-04-13 10:30:42 +02:00
Emmanuel Garette ff802b46e5 consistencies can make a warning instead of raises
for that, you have to set something like:
  a.impl_add_consistency('not_equal', b, warnings_only=True)

warning product now adapted message
2014-03-12 21:56:53 +01:00
Emmanuel Garette 7c8049a8d0 Merge branch 'master' into orm 2014-01-27 23:28:43 +01:00
gwen 9deb67f887 warning and error messages not translated in the tests 2014-01-27 14:55:53 +01:00
Emmanuel Garette 374c56a9c8 first version with sqlalchemy option's storage 2013-11-23 23:34:17 +01:00
Emmanuel Garette 0a83a9261f update invalid's message and display all informations when raises 2013-09-30 22:56:08 +02:00
gwen 162ae02df8 refactor (warnings_only) 2013-09-27 09:52:18 +02:00
Emmanuel Garette f4677b9ef9 use warnings instead of a new dictionary 2013-09-26 21:56:06 +02:00
Emmanuel Garette f040d3da61 warning is now a dict 2013-09-26 18:35:20 +02:00
Emmanuel Garette e63dbf308d more tests for warnings 2013-09-26 09:31:51 +02:00
Emmanuel Garette 329b9ac349 add _second_level_validation (second's one return only warning almost _validator raise) 2013-09-25 21:10:45 +02:00
Emmanuel Garette 06baff2f3b add warning ability 2013-09-24 23:19:20 +02:00
Emmanuel Garette 90ae9aa70d refactore carry_out_calculation + test + documentation 2013-09-19 21:39:41 +02:00