Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

preggy is an assertion library for Python. (What were you ``expect()``ing?)

Project description

preggy is an assertion library for Python. (What were you ``expect()``ing?)


EXAMPLE
=======

from preggy import expect

def test_roses_are_red():
rose = Rose()
expect(rose.color).to_equal('red')

def test_violets_are_not_red():
violet = Violet()
expect(violet.color).not_to_equal('red')


For more info:
http://heynemann.github.io/preggy

Project details


Download files

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

Files for preggy, version 1.4.2
Filename, size File type Python version Upload date Hashes
Filename, size preggy-1.4.2.tar.gz (19.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page