On Sat, 05 Jan 2013 18:20:23 +0100 Christoph Zwerschke <[email protected]> wrote: > I'd rather avoid to do that and merge them later in one go instead of > maintaining two partially overlapping test suites trying to keep them > in sync. That's unnecessary work and we will need to fully merge them > later anyway, and that will only become more difficult.
In this case it was a separate test, wasn't it? > The two test suites also use database schemes and fixtures which are > different and both do not look optimal to me and should be > reconsidered upfront (particularly in terms of performance, you don't > want to recreate databases, schemas and tests newly for hundreds of > tests). The TEST_* ones don't create a database every time. In fact, I wanted it to work even if the user running the tests didn't have create privileges. I just changed it today to open the database for each test but that's not so bad. I did that because the pgnotify tests need to open two connections to the database. -- D'Arcy J.M. Cain PyGreSQL Development Group http://www.PyGreSQL.org IM:[email protected] _______________________________________________ PyGreSQL mailing list [email protected] https://mail.vex.net/mailman/listinfo.cgi/pygresql
