summaryrefslogtreecommitdiff
path: root/Lib/test/test_cfgparser.py
Commit message (Collapse)AuthorAgeFilesLines
* Combine the functionality of test_support.run_unittest()Walter Dörwald2003-05-011-5/+5
| | | | | | | | | | and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807.
* Add a test that InterpolationError is constructed properly and raisedFred Drake2002-12-311-2/+20
| | | | | when expected. Only applies to the ConfigParser and SafeConfigParser classes, not RawConfigParser.
* Implement a safer and more predictable interpolation approach.Fred Drake2002-10-251-1/+16
| | | | Closes SF bug #511737.
* Add tests for both raw and non-raw versions of the items() methods.Fred Drake2002-10-251-0/+26
|
* Convert to PyUnit.Fred Drake2002-10-251-293/+263
|
* Added (very) minimal tests of the RawConfigParser class.Fred Drake2002-10-251-16/+35
| | | | | Moved the write() test to near the end of the file since it screws up font-lock. ;-(
* Allow internal whitespace in keys.Fred Drake2002-09-271-0/+6
| | | | Closes SF bug #583248; backporting to r22-maint branch.
* Added regression test for SF bug #561822: has_option() case sensitive.Fred Drake2002-09-271-0/+5
|
* Complete the absolute import patch for the test suite. All relativeBarry Warsaw2002-07-301-1/+1
| | | | | | | | imports of test modules now import from the test package. Other related oddities are also fixed (like DeprecationWarning filters that weren't specifying the full import part, etc.). Also did a general code cleanup to remove all "from test.test_support import *"'s. Other from...import *'s weren't changed.
* Whitespace normalization.Tim Peters2002-04-161-1/+1
|
* As part of fixing bug #523301, add a simple test of ConfigParser.write()Andrew M. Kuchling2002-03-081-0/+29
|
* Added tests that check getboolean() with the newly allowed values fromFred Drake2001-10-081-0/+37
| | | | SF patch #467580.
* When reading a continuation line, make sure we still use the transformedFred Drake2001-07-061-0/+7
| | | | | | | name when filling in the internal data structures, otherwise we incorrectly raise a KeyError. This fixes SF bug #432369.
* Make sure ConfigParser uses .optionxform() consistently; this affectsFred Drake2001-02-261-0/+24
| | | | | | .has_option(), .remove_option(), and .set(). This closes SF tracker #232913.
* Test section name using some strange characters, including a backslashFred Drake2001-02-141-2/+7
| | | | (SF bug #132288).
* Added options that use square brackets in their names; this ensures thatFred Drake2001-02-121-43/+49
| | | | | | | | GNOME-style internationalized options can be parsed using ConfigParser (SF bug #131635). Converted the tests to use test_support.verify() instead of output comparison to work.
* Add test cases for ConfigParser.remove_option() behavior. This includesFred Drake2000-12-041-0/+24
| | | | coverage to ensure bug #124324 does not re-surface.
* Make reindent.py happy (convert everything to 4-space indents!).Fred Drake2000-10-231-1/+1
|
* Remove change that had not been saved when the output was generated;Fred Drake2000-09-281-3/+0
| | | | | not terribly useful. Reported by Mark Favas <Mark.Favas@per.dem.csiro.au>.
* Regression test for ConfigParser module.Fred Drake2000-09-271-0/+144