4426cc5111
coverage
2018-09-26 21:30:10 +02:00
721ff8643d
display correct name in consistency
2018-09-16 21:28:18 +02:00
cd7977eae6
coverage
2018-09-12 21:05:14 +02:00
6110a37cc7
option.dict => value.dict
2018-09-09 12:21:47 +02:00
4b0c142e3e
synchronise config_bag and context
2018-09-06 23:06:56 +02:00
ec169a8dc6
optimisations
2018-09-04 08:36:02 +02:00
726d6c8bfd
make_dict => dict, option.dict => config.dict
2018-08-23 23:14:22 +02:00
6b6fa5e499
remove getapi in tests
2018-08-14 23:07:07 +02:00
50a2ab4186
can set valid value for an option with invalid consistency
2018-06-02 08:35:05 +02:00
54b57968bc
not Params object for callback, validator and calculated values for choiceoption
2018-04-15 21:13:16 +02:00
d5d826f967
adapt tests
2018-03-19 08:33:53 +01:00
5a1987f2e6
Add MasterSlaves object
2017-10-14 13:33:25 +02:00
3567e18256
several corrections about dependency
2017-09-17 15:55:32 +02:00
ddaadb0701
coverage
2017-07-21 18:03:34 +02:00
c8bc3093c7
python 3.5 support
2017-07-09 09:49:03 +02:00
7977efe246
check uniq value for a slave
2017-03-06 22:35:32 +01:00
df90e74819
mandatories masterslaves with consistency and default value is acceptable
2016-12-07 17:28:31 +01:00
8e7b4101f1
coverage
2016-11-20 18:02:10 +01:00
0f4b1caca4
warnings only if needed
2016-11-20 14:32:06 +01:00
fc36f674eb
consistency "not_equal" works now with multi
2016-11-16 22:31:42 +01:00
24ec5a9112
don't display warning in mandatory_warnings
2016-10-14 21:31:39 +02:00
c31590c2ac
consistency is now check not_equal if one option has PropertiesOptionError
2016-10-12 21:58:37 +02:00
e6a949635f
some improvements
2016-10-10 21:41:22 +02:00
e8764f6173
remove some try/except + consistency not works with submulti
2016-01-03 13:23:15 +01:00
ab555966f7
use python-coverage to delete dead part of code
2015-11-24 10:58:19 +01:00
44cd618704
remove pep8 validation errors
2015-07-24 17:54:10 +02:00
10768a6067
refactor validation
2015-04-18 22:53:45 +02:00
c566ad1111
valid default/callback value in consistencies
2015-03-08 12:03:49 +01:00
bc65caa4dc
mandatory master/slave's consistency with default value as slave
2014-12-07 14:39:23 +01:00
4fde28a15e
in_network's consistency now verify that IP is not network or broadcast's IP + ip_netmask's consistency now verify that IP is not broadcast's IP
2014-12-01 23:16:00 +01:00
71e69cd0bf
if consistency with multiple option return if transitive
2014-12-01 23:02:55 +01:00
7646071efd
propertyerror are transitive in consistency, now it's possible to set non-transitive consistency
2014-12-01 22:58:53 +01:00
471af4fd75
cannot add unvalaible consistency for an option
2014-10-25 22:48:42 +02:00
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
cd4d3527c7
split tiramisu/option.py and add MasterSlaves object
2014-04-12 17:55:13 +02:00
88b5af9810
Merge branch 'master' into better_warnings
2014-03-12 22:13:20 +01:00
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
5f46763696
add test for consistency with callback
2014-03-12 16:44:48 +01:00
d7b04ebed0
add consistency in_network for IPOption
...
This new consistency can validate that an IPv4 is a specified (network/netmask) network
2014-03-11 18:57:19 +01:00
21c8ed5d76
Merge branch 'master' into orm
...
Conflicts:
test/test_option_consistency.py
test/test_state.py
tiramisu/option.py
2014-02-06 22:24:50 +01:00
e7531e1fda
more tests
2014-02-06 22:17:20 +01:00
72f06bc29d
properties option in consistencies are now allowed
2014-02-06 19:19:48 +01:00
02a987b39d
sqlalchemy
2014-01-30 22:55:15 +01:00
64ca069a0b
Merge branch 'master' into orm
...
Conflicts:
test/test_config.py
tiramisu/autolib.py
tiramisu/option.py
tiramisu/value.py
2013-12-12 17:50:42 +01:00
c58de18b62
add more tests
2013-12-09 18:56:29 +01:00
374c56a9c8
first version with sqlalchemy option's storage
2013-11-23 23:34:17 +01:00
70f684e70c
tiramisu/option.py:
...
separate _consistencies (for Option) and _cache_consistencies (for OptionDescription)
_launch_consistency need index for multi's option
_cons_not_equal support multi options
tiramisu/value.py:
Multi._validate support consistency
2013-09-28 17:05:01 +02:00
482dfec7f2
consistancies can have more than one option
...
add _cons_broadcast
2013-09-27 23:27:08 +02:00
3b733d1b4f
support cache consistencies + no consistencies for a symlink + test
2013-09-03 22:41:18 +02:00
36ed6f874f
add some tests for values
...
cannot use __setitem__ to set value for an option
in append, len should not greater than master option
2013-08-25 18:06:07 +02:00