Installation

System Requirements

  • PostgreSQL 9.1 or greater must be installed.
  • Python 3.3 or greater. Compatibility with PyPy3.5 is untested and not guaranteed.
  • A database driver supported by SQLAlchemy must also be installed (see full list here). psycopg2 is guaranteed to work; pg8000 on the other hand is known to be incompatible with pytest-pgsql.

Setup

pip3 install pytest-pgsql