Skip to main content

Unit testing utilities for Pyramid applications

Project description

Pyramid SQLAlchemy unit testing utilities

A package which provides a set of utilities that enables SQLAlchemy functionality to be mocked in the writing of unit tests for a Pyramid application.

The package was created for situations where it is desirable to mock out the database layer, such as in cases where its complexity makes test setup overly time-consuming. It is suited to unit testing applications which use SQLAlchemy as an ORM.

In particular Pyramid applications, a framework within which models have no direct awareness of the database and database interactions are carried out through request.dbsession.

[The source for this project is available here][https://github.com/paulosjd/pyrasatest].


Example usage


Installation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyrsatest-1.1.3.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

pyrsatest-1.1.3-py2.py3-none-any.whl (5.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page