python - ex: Add code and prime unittests. - Mailing list pgsql-committers

From jwp@pgfoundry.org (James William Pye)
Subject python - ex: Add code and prime unittests.
Date
Msg-id 20050803232040.AD86011263A2@pgfoundry.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Add code and prime unittests.
code.py tests the Mapping class and the relativity of States and Classes.
prime.py tests the CodeClass Mapping to insure that the expected exception
is actually retrieved from ErrorLookup.

Added Files:
-----------
    ex/test:
        code.py (r1.1)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/ex/test/code.py?rev=1.1&content-type=text/x-cvsweb-markup)
        prime.py (r1.1)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/ex/test/prime.py?rev=1.1&content-type=text/x-cvsweb-markup)

pgsql-committers by date:

Previous
From: jwp@pgfoundry.org (James William Pye)
Date:
Subject: python - ex: Fix bugs, and add/rename exceptions.
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: ALTER TABLE OWNER must change the ownership of the table's