summaryrefslogtreecommitdiffstats
path: root/tests/test_ipalib/test_config.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix test failures caused by the performance patch.Rob Crittenden2011-02-101-0/+2
| | | | | | It isn't safe to assume there is an environment or mode in any given object. Only skip the extra work if the object explicitly has production in it.
* Change FreeIPA license to GPLv3+Jakub Hrozek2010-12-201-5/+5
| | | | | | | | | | The changes include: * Change license blobs in source files to mention GPLv3+ not GPLv2 only * Add GPLv3+ license text * Package COPYING not LICENSE as the license blobs (even the old ones) mention COPYING specifically, it is also more common, I think https://fedorahosted.org/freeipa/ticket/239
* Fix _merge_from_file testRob Crittenden2010-10-181-1/+1
|
* Fix unicode failures in Env tests and dn failures in XML-RPC testsRob Crittenden2010-02-261-19/+19
|
* Force xmlrpc tests to run with in_tree=True so config files in /etc/ipa/ ↵Jason Gerard DeRose2009-05-111-51/+51
| | | | don't get read; cleaned up config.Env automagic with regard to running in-tree vs. installed
* Added unit test for Env.__islocked__(); unit test for Env.__lock__() now ↵Jason Gerard DeRose2009-01-061-3/+22
| | | | also tests with base.lock() function
* Env now supports float valuesJason Gerard DeRose2008-12-301-2/+12
|
* Added unit test for Env._merge()Jason Gerard DeRose2008-12-301-52/+88
|
* Docstring cleanup in the Env bootstraping methodsJason Gerard DeRose2008-12-301-1/+1
|
* Started moving some core classes and functions from plugable.py to new ↵Jason Gerard DeRose2008-12-301-1/+20
| | | | base.py module
* Renamed Env._merge_config() to Env._merge_from_file()Jason Gerard DeRose2008-12-291-7/+7
|
* Finished Env class docstring; more organizational cleanup in Env and its ↵Jason Gerard DeRose2008-12-231-50/+72
| | | | unit tests
* Moved setting of run-time variables from Env.__init__() to Env._bootstrap()Jason Gerard DeRose2008-12-221-10/+11
|
* Some more reorganization in Env and added class docstring to Env with lots ↵Jason Gerard DeRose2008-12-221-33/+31
| | | | of examples
* Cleaned up Env.__setattr__() and Env.__setitem__() a bit updated their unit ↵Jason Gerard DeRose2008-12-221-39/+71
| | | | tests
* The Env.__setitem__() implied conversion is now case sensitive; ↵Jason Gerard DeRose2008-12-221-8/+8
| | | | Env.__setitem__() now also accepts None as a value
* Removed Env.__getattr__(); Env no longer accepts callables for values (no ↵Jason Gerard DeRose2008-12-221-13/+6
| | | | more dynamic/lazy values)
* Removed depreciated code from config.py; removed corresponding unit testsJason Gerard DeRose2008-12-221-161/+1
|
* Env._finalize_core() now also loads config from Env.conf_defaultJason Gerard DeRose2008-10-271-0/+10
|
* Env._bootstrap() now also sets Env.conf_defaultJason Gerard DeRose2008-10-271-0/+7
|
* Finished Env._finalize() and corresponding unit testsJason Gerard DeRose2008-10-241-2/+21
|
* Finished Env._finalize_core() and corresponding unit testsJason Gerard DeRose2008-10-241-10/+114
|
* Added tests.util.TempHome class for created a tempdir and setting ↵Jason Gerard DeRose2008-10-241-12/+20
| | | | os.environ['HOME'] to it; updated various unit tests for Env so they are run using a tempdir for home
* Env._bootstrap() now raises StandardError if called more than onceJason Gerard DeRose2008-10-241-0/+2
|
* Added ipalib/constants.py; added Env._load_config() method along with ↵Jason Gerard DeRose2008-10-241-3/+182
| | | | comprehensive unit tests for same
* Finished doodle with stricter version of EnvironmentJason Gerard DeRose2008-10-241-2/+120
|
* Add comments in config.py and fix Environment.get()Martin Nagy2008-10-201-0/+5
|
* Reworking Environment, moved it to config.pyMartin Nagy2008-10-171-12/+94
|
* Convert string values to boolean when generating environmentMartin Nagy2008-10-141-0/+3
|
* PEP 257: cleaned up docstrings in test_config.pyJason Gerard DeRose2008-10-071-4/+4
|
* Renamed tests/tstutil.py to tests/util.pyJason Gerard DeRose2008-10-071-1/+1
|
* Moved tstutil.py into base of tests so it can be used by all test ↵Jason Gerard DeRose2008-10-071-1/+1
| | | | subpackages more easily
* Cleaned up package and module level docstrings for everything in tests/Jason Gerard DeRose2008-10-071-1/+1
|
* Moved ipalib/tests/ into tests/test_ipalib/Jason Gerard DeRose2008-10-071-0/+101