Cannot run tests against PostgreSQL

Issue #13 new
Denis Rykov created an issue

It seems that you can't connect to a PostgreSQL server without specifying a database. When I try to run tests against PostgreSQL I get the following error:

$ export AUTOCRUD_DSN=postgresql+pg8000://autocrud_user:***@localhost:5432
$ nosetests -v
...
sqlalchemy.exc.ProgrammingError: (pg8000.core.ProgrammingError) ('FATAL', '3D000', 'database "autocrud_user" does not exist', 'postinit.c', '826', 'InitPostgres') (Background on this error at: http://sqlalche.me/e/f405)

----------------------------------------------------------------------
Ran 128 tests in 1.178s

FAILED (errors=109)

Comments (1)

  1. Log in to comment