summaryrefslogtreecommitdiff
path: root/test_configobj.py
Commit message (Collapse)AuthorAgeFilesLines
* #128, #203 - re-implement the move to a configobj package done in masterRob Dennis2023-01-171-986/+0
|
* test changes related to comments, including a helper method for specifying a ↵Rob Dennis2014-04-061-30/+0
| | | | | | test config file also, related to issue #14 moved over a comment test
* fixes #42 - recursing over nested Sections was inappropriately checking for ↵Rob Dennis2014-03-171-53/+0
| | | | | | dicts instead of actual Sections this hurts when there are cases where you can have dictionary values (particular with unrepr=True)
* #14 - moved over a bunch more testsRob Dennis2014-03-101-196/+6
|
* #34, #14 - corrected and moved over doctests effected by writing out in ↵Rob Dennis2014-03-091-56/+0
| | | | binary mode; handling encoding that in a py2/3-compatible way
* #14 - moved over doctests for a bunch of random value checksRob Dennis2014-03-031-124/+1
|
* #14 - moved over doctests for interpolation, quotes, and stringifyRob Dennis2014-03-031-121/+3
|
* #14 moved over a doctest for handling dupiclate sections and membersRob Dennis2014-03-031-28/+0
|
* #14 moved over a doctest for reloading a configobjRob Dennis2014-03-031-77/+0
|
* #14 moved over a doctest for resetting a configobjRob Dennis2014-03-031-64/+0
|
* #14 - finished refactored a half-done doctest to py.testRob Dennis2014-02-251-46/+0
|
* #14 - moved over exception tests to py.testRob Dennis2014-02-231-67/+0
|
* fixes #18 - correctly handling unicode conversion where appropriateRob Dennis2014-02-181-386/+0
| | | | | | - we were not really handling unicode at all, and the existing doctest was asserting the incorrect behavior - refactored to use six.py - refactored a doctest affected by this fix to be py.test test (essentially a 1-to-1 port)
* fixes #6 - copyright lines changedRob Dennis2014-02-081-13/+10
| | | | | | all links to voidspace's docs point to github all references to the license point to opensource.org's page instead of voidspace all authors originally in the copyright lines are unchanged
* #3 - python versions from 26, 27, 32, 33 work with test_configobjRob Dennis2014-01-241-82/+85
| | | | | - undoing eli's changes for exception checking based on this python2.6 behavior: http://bugs.python.org/issue7490 - validate needed the same "string_type" change from configobj for all the isinstance(val, str) checks
* #3 - setting the results of the seek and write methods of file-like objects ↵Rob Dennis2014-01-241-8/+4
| | | | | | to a variable to make doctest python 2 and 3 compatible seek and write return None on python 2 and thus don't print anything in the REPL, but on 3, they both return integer bytes, which does show
* #3 -asserting types in doctests in a way that's compatible on 26,27 and 3Rob Dennis2014-01-241-44/+54
| | | | type(float) says "type" on python 2 and "class" on python 3, which is annoying to doctest
* #2 - tox and travis; change to test_configobj to actually fail tox if there ↵Rob Dennis2014-01-241-1/+1
| | | | | | are failures tests actually fail on 26 and 27, but that's another battle
* changes to make tests run on python3Eli Courtwright2014-01-241-142/+139
|
* ConfigObj setup.py modified.fuzzyman2010-01-091-1/+1
|
* Fixed problem with missing sections and preserve_errors with validation.fuzzyman2009-11-221-13/+14
|
* Test for validate with preserve_errorsfuzzyman2009-11-211-0/+3
|
* Change in behavior for missing values / sections in ConfigObj.validate when ↵fuzzyman2009-10-261-0/+3
| | | | preserve_errors is True.
* Change in behavior for missing values / sections in ConfigObj.validate when ↵fuzzyman2009-10-261-10/+22
| | | | preserve_errors is True.
* Empty values in lists are now a syntax error.fuzzyman2009-10-261-0/+40
|
* clear() and reset() handles defaults, default_values and extra_values correctly.fuzzyman2009-10-251-0/+24
|
* Addition of 'extra_values' section member.fuzzyman2009-10-251-0/+17
|
* String interpolation now works in list values.fuzzyman2009-10-251-4/+10
|
* Fixing bugs.fuzzyman2009-10-251-1/+14
|
* Various minor doc, test and code changesfuzzyman2009-04-131-0/+17
|
* test fixfuzzyman2009-04-131-1/+1
|
* Addition of wing project file and copyright date changes.fuzzyman2009-04-131-1/+1
|
* Initial checkinfuzzyman2009-04-131-0/+2085