Commit Graph

34 Commits

Author SHA1 Message Date
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
Emmanuel Garette 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