1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
# PATH=/opt/local/lib/postgresql90/bin:$PATH bin/buildout -c postgres.cfg
# sudo -u postgres /opt/local/lib/postgresql90/bin/createdb zope_sqlalchemy_tests
# sudo -u postgres /opt/local/lib/postgresql90/bin/createuser -s <username>
# sudo -u postgres /opt/local/lib/postgresql90/bin/postgres -D /opt/local/var/db/postgresql90/defaultdb -d 1
[buildout]
extends = postgres.cfg
parts +=
testpg3
testpg32
[testpg3]
<= test
eggs += psycopg[c]
environment = pgenv3
[testpg32]
<= testpg3
environment = pgenv32
[scripts]
eggs +=
psycopg[c]
[pgenv3]
TEST_DSN = postgresql+psycopg:///zope_sqlalchemy_tests
[pgenv32]
<= pgenv3
TEST_TWOPHASE=True
|