Emmanuel Garette
194c82faad
tests pass now with dictionary and sqlalchemy storage
2014-02-16 23:37:27 +01:00
Emmanuel Garette
5646fc35a2
Merge branch 'master' into orm
...
Conflicts:
test/test_parsing_group.py
2014-02-03 22:11:58 +01:00
Emmanuel Garette
8d10ad4002
add tests
2014-02-02 22:47:46 +01:00
Emmanuel Garette
02a987b39d
sqlalchemy
2014-01-30 22:55:15 +01:00
Emmanuel Garette
880b6366eb
Merge branch 'master' into orm
...
Conflicts:
tiramisu/setting.py
2014-01-25 16:39:32 +01:00
Emmanuel Garette
138018dfe9
if we delete all reference to a Config and we have reference to old SubConfig, Values, Multi or Settings, make a ConfigError instead of AttributError on NoneType object
2014-01-25 11:20:11 +01:00
Emmanuel Garette
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
Emmanuel Garette
c58de18b62
add more tests
2013-12-09 18:56:29 +01:00
Emmanuel Garette
73745be440
Important behavior change : to add default_multi value, now use Multi.append(), not Multi.append(None)
2013-12-09 17:59:39 +01:00
Emmanuel Garette
6e4f19eebe
more tests
2013-12-09 15:43:45 +01:00
Emmanuel Garette
374c56a9c8
first version with sqlalchemy option's storage
2013-11-23 23:34:17 +01:00
gwen
162ae02df8
refactor (warnings_only)
2013-09-27 09:52:18 +02:00
Emmanuel Garette
aeeaf6ec14
impl_get_information and impl_set_information are, now, persistent in storage
2013-09-03 10:38:38 +02:00
Emmanuel Garette
eb62d0c4a4
add test for impl_get_path_by_opt and impl_get_opt_by_path
2013-08-29 09:29:28 +02:00
gwen
fbf05ba5e4
python 3 compatibility
...
remove __eq__ and __ne__ in Option
2013-08-28 21:13:42 +02:00
Emmanuel Garette
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
Emmanuel Garette
f482737a47
add test to known if has a value + some corrections
2013-08-24 23:10:35 +02:00
Emmanuel Garette
e6a183c00d
test get_modified_values
2013-08-24 22:54:02 +02:00
Emmanuel Garette
4c27cb586d
in __setattr__, name should never be object's variable name
...
remove context in type_ find's option
find_first_context return AttributError if no results
2013-08-24 21:26:10 +02:00
gwen
3d67e35447
documentation on the tests
2013-08-22 12:17:10 +02:00
Emmanuel Garette
b6bb685ca5
key is now always path and change opt by path dictionary storage
2013-08-21 22:21:50 +02:00
Emmanuel Garette
c06659012b
Config: __str__ raise if no str/unicode value
2013-07-03 21:56:31 +02:00
Emmanuel Garette
6de65859b4
* config herite from BaseInformation class
...
* _cfgimpl_ => _impl_
* optimpl_ => impl_
* properties/permissives are now set/frozenset
* validation raise ValueError if not valid, didn't return anything otherwise
* consistencies are now validate in setting and when deleting value
* ip/network with netmask consistency now works
* DomainnameOption now works
* if no validation, don't set cache for value
* symlinkoption: remove path (not used)
2013-05-08 18:14:42 +02:00
Emmanuel Garette
682d9fe207
add option name's validation and rename Option method with objimpl_
2013-04-20 21:58:52 +02:00
Emmanuel Garette
656b751995
mandatory is a true property (no more MandatoryError) + tests
2013-04-16 22:44:16 +02:00
Emmanuel Garette
e6f00948f3
optimisations and all is properties
2013-04-03 12:20:26 +02:00
gwen
ccf75aac89
tests for get_home_by_paths
2013-03-15 09:24:43 +01:00
gwen
9259a6e3f7
values are in value objects now
2013-02-07 16:20:21 +01:00
gwen
e13fec23fe
doc for the settings
2012-11-19 16:48:47 +01:00
gwen
eb7e393864
the value owner is a string now
2012-11-15 10:55:14 +01:00
gwen
09dba4b959
suppression of the override
2012-11-12 12:06:58 +01:00
gwen
45ff59aea2
tests are passing again after package renaming
2012-07-23 14:52:08 +02:00
gwen
9aa9d9780a
everything in src for packaging purposes
2012-07-13 09:42:14 +02:00
gwen
d1f97ca50f
everything in src for packaging purposes
2012-07-13 09:37:25 +02:00
gwen
97b000bf1d
possibility to reset a value
2012-06-29 10:46:44 +02:00
gwen
99b117e838
possibility to reset a value
2012-06-29 10:46:12 +02:00
gwen
8b16814ab4
first revision
2012-05-13 20:48:51 +02:00