[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#838582: ITP: python-testing.postgresql -- Python unit testing helper for temporary PostgreSQL databases



> The testing.postgresql package is a helper module for unit testing Python
> database applications. It provides methods for setting up, maintaing,
> and cleaning up a PostgreSQL database server that can be used within a test
> suite. A real PostgreSQL server is started as an instance in a temporary
> directory and removed after running the tests.
> 
> The package would enable Debian package builds to use it and to enable
> unit tests of Python packages that use databases. Right now, the only
> way to build packages that do is to disable the tests.

Hi,

fwiw, if you wrap the build in `pg_virtualenv`, you'll also get a
temporary database cluster that would be thrown away at the end.

Christoph

Attachment: signature.asc
Description: PGP signature


Reply to: