Commit Graph

36 Commits

Author SHA1 Message Date
Emmanuel Garette 6b6fa5e499 remove getapi in tests 2018-08-14 23:07:07 +02:00
Emmanuel Garette 3210a54ab8 config => KernelConfig + Config in api 2018-08-14 22:15:40 +02:00
Emmanuel Garette 54b57968bc not Params object for callback, validator and calculated values for choiceoption 2018-04-15 21:13:16 +02:00
Emmanuel Garette 6921e05c0e corrections in dynoption/masterslaves 2018-03-24 22:37:48 +01:00
Emmanuel Garette d5d826f967 adapt tests 2018-03-19 08:33:53 +01:00
Emmanuel Garette 5a1987f2e6 Add MasterSlaves object 2017-10-14 13:33:25 +02:00
Emmanuel Garette 3567e18256 several corrections about dependency 2017-09-17 15:55:32 +02:00
Emmanuel Garette c8bc3093c7 python 3.5 support 2017-07-09 09:49:03 +02:00
Emmanuel Garette 5bf75b3824 error in external function should returns only ConfigError 2017-02-12 10:38:57 +01:00
Emmanuel Garette 80f6f4ba03 error in external function should returns explicit error message 2017-02-11 18:11:05 +01:00
Emmanuel Garette 4b01eb6497 add test test_symlink_getproperties and test_symlink_getcallback 2017-01-26 21:55:10 +01:00
Emmanuel Garette 85857ea781 add test test_validator_params_value_values_kwargs_empty 2017-01-26 21:40:08 +01:00
Emmanuel Garette e2159fd307 validator's function can have 1 arg, 2 args or 3 args 2017-01-18 15:54:30 +01:00
Emmanuel Garette 9920f001ea validator's function can have 1 arg, 2 args or 3 args 2017-01-16 09:25:56 +01:00
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