summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pwd.py
Commit message (Collapse)AuthorAgeFilesLines
* skip NIS entries, empty entries, etcFredrik Lundh2005-12-121-2/+2
|
* skip nis entries, if not filtered out by getpwall itselfFredrik Lundh2005-12-121-0/+2
|
* Combine the functionality of test_support.run_unittest()Walter Dörwald2003-05-011-3/+1
| | | | | | | | | | 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.
* Whitespace normalization.Tim Peters2003-04-241-1/+0
|
* Change test_pwd and test_grp so they can handle duplicate userWalter Dörwald2003-04-221-1/+3
| | | | and group names. This should fix SF bug #724771.
* Fix the test so that it works even when /etc/passwd has two entriesWalter Dörwald2003-04-151-1/+12
| | | | for the same uid.
* Port test_pwd.py to PyUnit. Check that getpwall() andWalter Dörwald2003-04-151-63/+74
| | | | | | | | | | | | getpwnam()/getpwuid() return consistent data. Change test_grp to check that getgrall() and getgrnam()/getgrgid() return consistent data. Add error checks similar to test_pwd.py. Port test___all__.py to PyUnit. From SF patch #662807.
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+1
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* String method conversion.Eric S. Raymond2001-02-091-2/+1
| | | | (This one was trivial -- no actual string. references in it!)
* a bold attempt to fix things broken by MAL's verify patch: importFredrik Lundh2001-01-171-1/+1
| | | | 'verify' iff it's used by a test module...
* This patch removes all uses of "assert" in the regression test suiteMarc-André Lemburg2001-01-171-1/+1
| | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
* Update the code to better reflect recommended style:Fred Drake2000-12-121-2/+2
| | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects.
* Make reindent.py happy (convert everything to 4-space indents!).Fred Drake2000-10-231-1/+1
|
* typos fixed by Rob HooftJeremy Hylton2000-06-281-1/+1
|
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-18/+18
|
* More robust way of choosing a non-existant uid (faster, too).Guido van Rossum1997-05-201-1/+1
| | | | (Correct version -- the previous checkin was a keyboard slip.)
* More robust way of choosing a non-existant uid (faster, too).Guido van Rossum1997-05-201-4/+4
|
* test_rotor.py: New test of the rotor module.Barry Warsaw1996-12-231-6/+8
| | | | | | | test_*: converted to the new test harness. GvR note! test_signal.py works interatively (i.e. when verbose=1) but does not work inside the test harness. It must be a timing issue, but I haven't figured it out yet.
* Test of the pwd moduleBarry Warsaw1996-12-111-0/+70