Skip to main content

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
preggy-1.4.2.tar.gz (19.3 kB) Copy SHA256 hash SHA256 Source None Jan 9, 2018

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