Commit graph

51 commits

Author SHA1 Message Date
Emmanuel Garette
cab8dae15a requirement can have callback 2019-03-13 08:49:18 +01:00
Emmanuel Garette
35ee424810 add test_leadership_requires_transitive 2019-03-03 08:02:57 +01:00
Emmanuel Garette
7873910322 doesn't check follower requirement with an other follower or a leader if idx is None (fixes #3) 2019-03-02 19:43:58 +01:00
Emmanuel Garette
c3f968dbde master/slaves => leader/followers 2019-02-23 19:06:23 +01:00
Emmanuel Garette
ca4d5e3e97 add demoting_error_warning properties 2018-12-24 09:30:58 +01:00
Emmanuel Garette
f4bf3dc390 add PathConfig 2018-10-31 08:00:19 +01:00
Emmanuel Garette
77e4fff763 copy requires from master to MasterSlaves 2018-09-29 21:37:39 +02:00
Emmanuel Garette
df77bc8738 test coverage 2018-09-22 17:45:52 +02:00
Emmanuel Garette
6110a37cc7 option.dict => value.dict 2018-09-09 12:21:47 +02:00
Emmanuel Garette
122796bd19 requires for a master is a required for the masterslaves + remove cache from masterslaves too 2018-09-02 11:55:19 +02:00
Emmanuel Garette
726d6c8bfd make_dict => dict, option.dict => config.dict 2018-08-23 23:14:22 +02:00
Emmanuel Garette
6ceeb43962 makedict with masterslaves 2018-08-19 15:19:42 +02:00
Emmanuel Garette
6b6fa5e499 remove getapi in tests 2018-08-14 23:07:07 +02:00
Emmanuel Garette
beb615e707 add inverse test 2018-08-04 23:08:02 +02:00
Emmanuel Garette
b442d52289 can use requires with self option 2018-04-25 19:12:54 +02:00
Emmanuel Garette
605163ab4a some improvment 2018-04-11 16:36:15 +02:00
Emmanuel Garette
51d420b29d add test for properties 2018-04-11 08:40:59 +02:00
Emmanuel Garette
9e378faef0 simplify find() in api and PropertiesOptionError 2018-04-10 22:42:20 +02:00
Emmanuel Garette
42fc21e6f5 update access to property or permissive in tests 2018-04-06 08:30:32 +02:00
Emmanuel Garette
cf3e8cded9 add test_properties 2018-04-05 19:06:38 +02:00
Emmanuel Garette
de77cd1027 reset cache only if calculated value return a new value 2018-03-31 23:09:40 +02:00
Emmanuel Garette
95849d2e01 requires needs force_permissive 2018-03-31 21:17:37 +02: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
5ca2e32ac5 coverage 2017-07-21 22:34:41 +02:00
Emmanuel Garette
ddaadb0701 coverage 2017-07-21 18:03:34 +02:00
Emmanuel Garette
c8bc3093c7 python 3.5 support 2017-07-09 09:49:03 +02:00
Emmanuel Garette
9b78f46e9d add 'operator' to requirement 2017-05-20 16:28:19 +02:00
Emmanuel Garette
01b7fc873e can mix inversed and non inversed requires 2017-01-12 19:52:03 +01:00
Emmanuel Garette
2e4fdbca03 transitive in apply_requires should only by apply if properties are same has testing action 2016-10-12 22:17:04 +02:00
Emmanuel Garette
071035854b slave with requires could not raise 2016-10-12 20:49:56 +02:00
Emmanuel Garette
df233d3165 add some optimisations 2015-12-22 22:06:14 +01:00
Emmanuel Garette
98200ecae5 improvemnt information 2015-11-30 15:55:34 +01:00
Emmanuel Garette
a521a6d322 requires could be apply to a slave and properties could be different 2015-11-29 23:03:08 +01:00
Emmanuel Garette
44cd618704 remove pep8 validation errors 2015-07-24 17:54:10 +02:00
Emmanuel Garette
cd4d3527c7 split tiramisu/option.py and add MasterSlaves object 2014-04-12 17:55:13 +02:00
Emmanuel Garette
6f5d471db1 if option with requires has a property, calculated properties are store in storage 2014-02-05 10:37:39 +01:00
Emmanuel Garette
c58de18b62 add more tests 2013-12-09 18:56:29 +01:00
Emmanuel Garette
f106f3ced7 cannot set properties if those properties are in requirement 2013-09-02 19:47:00 +02:00
Emmanuel Garette
4636a977cc requirements: calculate all requirements for an option 2013-09-02 17:13:43 +02:00
gwen
fbf05ba5e4 python 3 compatibility
remove __eq__ and __ne__ in Option
2013-08-28 21:13:42 +02:00
Emmanuel Garette
c2b16d2605 add _path in reset for performance + more tests 2013-08-24 16:30:46 +02:00
Emmanuel Garette
ac62931525 add test for recursive path in requirement 2013-08-22 22:57:32 +02:00
Emmanuel Garette
04aa4e6bf1 never same calculated properties has properties (only in cache) 2013-08-22 22:48:09 +02:00
Emmanuel Garette
0afb521766 support multi requirement with inverse for same option 2013-07-03 15:04:15 +02:00
Emmanuel Garette
9b134c3aa7 requirement are now a dictionary (not anymore a tuple) 2013-06-29 18:41:14 +02:00
Emmanuel Garette
e501c6d12d support multi requires with inverse set to True 2013-06-28 11:59:51 +02:00
Emmanuel Garette
c2471320c3 apply_requires: add property if any property raise PropertyError if same_action is False 2013-06-13 14:43:51 +02:00
Emmanuel Garette
755b2312c2 allow None in requirement 2013-06-13 12:15:46 +02:00
gwen
1c70a07d7e transitivity in the requirements 2013-06-10 15:19:00 +02:00