Commit Graph

46 Commits

Author SHA1 Message Date
f4bf3dc390 add PathConfig 2018-10-31 08:00:19 +01:00
77e4fff763 copy requires from master to MasterSlaves 2018-09-29 21:37:39 +02:00
df77bc8738 test coverage 2018-09-22 17:45:52 +02:00
6110a37cc7 option.dict => value.dict 2018-09-09 12:21:47 +02:00
122796bd19 requires for a master is a required for the masterslaves + remove cache from masterslaves too 2018-09-02 11:55:19 +02:00
726d6c8bfd make_dict => dict, option.dict => config.dict 2018-08-23 23:14:22 +02:00
6ceeb43962 makedict with masterslaves 2018-08-19 15:19:42 +02:00
6b6fa5e499 remove getapi in tests 2018-08-14 23:07:07 +02:00
beb615e707 add inverse test 2018-08-04 23:08:02 +02:00
b442d52289 can use requires with self option 2018-04-25 19:12:54 +02:00
605163ab4a some improvment 2018-04-11 16:36:15 +02:00
51d420b29d add test for properties 2018-04-11 08:40:59 +02:00
9e378faef0 simplify find() in api and PropertiesOptionError 2018-04-10 22:42:20 +02:00
42fc21e6f5 update access to property or permissive in tests 2018-04-06 08:30:32 +02:00
cf3e8cded9 add test_properties 2018-04-05 19:06:38 +02:00
de77cd1027 reset cache only if calculated value return a new value 2018-03-31 23:09:40 +02:00
95849d2e01 requires needs force_permissive 2018-03-31 21:17:37 +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
5ca2e32ac5 coverage 2017-07-21 22:34:41 +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
9b78f46e9d add 'operator' to requirement 2017-05-20 16:28:19 +02:00
01b7fc873e can mix inversed and non inversed requires 2017-01-12 19:52:03 +01:00
2e4fdbca03 transitive in apply_requires should only by apply if properties are same has testing action 2016-10-12 22:17:04 +02:00
071035854b slave with requires could not raise 2016-10-12 20:49:56 +02:00
df233d3165 add some optimisations 2015-12-22 22:06:14 +01:00
98200ecae5 improvemnt information 2015-11-30 15:55:34 +01:00
a521a6d322 requires could be apply to a slave and properties could be different 2015-11-29 23:03:08 +01:00
44cd618704 remove pep8 validation errors 2015-07-24 17:54:10 +02:00
cd4d3527c7 split tiramisu/option.py and add MasterSlaves object 2014-04-12 17:55:13 +02:00
6f5d471db1 if option with requires has a property, calculated properties are store in storage 2014-02-05 10:37:39 +01:00
c58de18b62 add more tests 2013-12-09 18:56:29 +01:00
f106f3ced7 cannot set properties if those properties are in requirement 2013-09-02 19:47:00 +02:00
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
c2b16d2605 add _path in reset for performance + more tests 2013-08-24 16:30:46 +02:00
ac62931525 add test for recursive path in requirement 2013-08-22 22:57:32 +02:00
04aa4e6bf1 never same calculated properties has properties (only in cache) 2013-08-22 22:48:09 +02:00
0afb521766 support multi requirement with inverse for same option 2013-07-03 15:04:15 +02:00
9b134c3aa7 requirement are now a dictionary (not anymore a tuple) 2013-06-29 18:41:14 +02:00
e501c6d12d support multi requires with inverse set to True 2013-06-28 11:59:51 +02:00
c2471320c3 apply_requires: add property if any property raise PropertyError if same_action is False 2013-06-13 14:43:51 +02:00
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
2751a2694a RequirementRecursiveError => RequirementError
Properties in "apply_requires" are now transitive (but only if tested property is in properties list)
New requirement option (a boolean), don't touch properties if PropertyError in "apply_requires"
2013-05-31 23:30:00 +02:00