Opened 9 years ago

Closed 4 years ago

#9 closed task (fixed)

Clean-up the test for the classic module

Reported by: cito Owned by: cito
Priority: major Milestone: 4.2
Component: Classic API Version: 4.0
Keywords: Cc:

Description

We need to clean up test_pg.py and merge it with TEST_PyGreSQL_classic.py.

Change History (2)

comment:1 Changed 4 years ago by darcy

  • Owner changed from darcy to cito
  • Status changed from new to assigned

comment:2 Changed 4 years ago by cito

  • Resolution set to fixed
  • Status changed from assigned to closed

Ok, the test_pg module has now been completely overhauled in r537-r549.

Instead of a single test module we now have 4 test_modules:

  • TEST_PyGreSQL_classic_functions.py
  • TEST_PyGreSQL_classic_connection.py
  • TEST_PyGreSQL_classic_largeobj.py
  • TEST_PyGreSQL_classic_dbwrapper.py

Some tests that had been missing have now been added, particularly the tests for direct socket access and large objects.

I'm pretty pleased with the result and we now have a much better starting point for doing larger refactorings and porting to Python 3.

Note: See TracTickets for help on using tickets.