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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pyrsatest-1.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09d04ddb9f4908fef3f1698875d6493cf35cf3d1bf50b34c7f76964f3a5f7a74 |
|
MD5 | a03de4639d320275e784c6ee45329f0b |
|
BLAKE2b-256 | a20111712ff10928f5e4c0da5c8cde4f5b5ca7d5e66f49a4f4950be2d353875b |