Commit graph

7 commits

Author SHA1 Message Date
Sławek Ehlert
8d366fca44 fix ValidationMixin instantiation with no default
with tests. fixes #69
2014-10-30 23:44:48 +01:00
Sven Aßmann
4018f7b42a - add late_binding to value with default False
- this enables a value to load from environment if the env variable name is given at construction time
- cache value of environment value now in property value
- add __new__ to allow a construction of a given type from environment directly. In this case now Value instance is constructed but an instance of the desired type that is covered by the Value implementation. For Value it is str, for DictValue it is dict etc.
- extend tests for this new behavior
- extend test coverage for some other places
2014-05-02 22:51:48 +02:00
Jannis Leidel
280be2e3e2 Fix database URL test. 2014-04-15 15:36:37 -04:00
Dmitry Kozhedubov
3ae1e368c2 test_cache_url_value fix 2014-03-02 20:41:40 +04:00
Jannis Leidel
f087cea84d Added SearchURLValue. 2014-01-16 19:00:29 +01:00
Stefan Wehrmeyer
5e8dc290df Fix CacheURLValue default value
Remove unused kwarg 'name' that shadows kwarg
'default'.
2013-10-06 16:33:24 +02:00
Jannis Leidel
5898acb594 Moved tests out of the configurations packages. 2013-09-09 11:02:43 +02:00
Renamed from configurations/tests/test_values.py (Browse further)