Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #769067 > unrolled thread

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

Started byDominik George <nik@naturalnet.de>
First post2016-09-22 18:30 +0200
Last post2016-09-23 10:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#838582: ITP: python-testing.postgresql -- Python unit testing helper for temporary PostgreSQL databases Dominik George <nik@naturalnet.de> - 2016-09-22 18:30 +0200
    Bug#838582: ITP: python-testing.postgresql -- Python unit testing helper for temporary PostgreSQL databases Christoph Berg <myon@debian.org> - 2016-09-23 10:10 +0200

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

FromDominik George <nik@naturalnet.de>
Date2016-09-22 18:30 +0200
SubjectBug#838582: ITP: python-testing.postgresql -- Python unit testing helper for temporary PostgreSQL databases
Message-ID<skf2O-eA-13@gated-at.bofh.it>
Package: wnpp
Severity: wishlist
Owner: Dominik George <nik@naturalnet.de>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

* Package name    : python-testing.postgresql
  Version         : 1.3.0
  Upstream Author : Takeshi Komiya
* URL             : https://github.com/tk0miya/testing.postgresql
* License         : Apache
  Programming Lang: Python
  Description     : 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.

The package shall be maintained within the Debian Python Modules Team.

-----BEGIN PGP SIGNATURE-----

iQJhBAEBCABLBQJX5ASeMRpodHRwczovL3d3dy5kb21pbmlrLWdlb3JnZS5kZS9n
cGctcG9saWN5LnR4dC5hc2MSHG5pa0BuYXR1cmFsbmV0LmRlAAoJELeaPBagxPKW
OC4P+wVDTvdt+ISFXMWyu0odDl/Kqjyx7jBxdBN3aSxjyhKpKyIvTyOYUU+wPSxe
fhEPeZM+OBeKYOxzclr5Scal2D64enL8k77cNGxw0hzQ2EaIGhStDE5Cxz8OJmuT
RnMEWQpHo2/PEkIsW8VVeu4oAPHkk+/gCoVXOYxwyxmtBPZWxLkvyjzHq6B2Q07h
7avdjrvdI15G5ASi27XFHoadGIV3toGIwzVRKqvAe2zTIlSgeFtQhgDKTIi0VfqO
D77+cIm/AMKWdrzWlTNtDA68QMAtqt3TGGo7lFHNETY7yrOZdPJwK1EgHAvX7NrC
3xH0PrOLu7WvQ3+0bLAlTtBRIJGxKbvMizqnNGwGeRJUHcWeexpahQczNy27CC9q
RlSiT8IfgGMouPRP7xJaqH1eg6SIhXxZ5FbI3K/k+L6xVI/Mo83q+w6VBKTzjRVf
TSTcSbDWQNnDc2yCpZ0vNI/1sth3jQKvtjgE4ARahlHIHLsjzpulzTA2/du3e931
NN+lJlTyz1Jp4yFXR2o/XazIn/VsoQtC5+LMy0RzyJE1Kjjs60iaGtFhRo34LrR1
StxwR8PhuK/hJluAN0Ufg6jLXPX7XGrZhSzgVugGbW2q9/jufcPtZbcXdtt/eD8V
J9zLKV5N9nvT/nx2JtP4C5DsIbHrT3FTd6qY/wxmpq/Qt7zE
=WzUS
-----END PGP SIGNATURE-----

[toc] | [next] | [standalone]


#769175

FromChristoph Berg <myon@debian.org>
Date2016-09-23 10:10 +0200
Message-ID<sktIu-19y-31@gated-at.bofh.it>
In reply to#769067

[Multipart message — attachments visible in raw view] — view raw

> 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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web