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.

Source Distribution

preggy-1.1.2.tar.gz (11.6 kB view hashes)

Uploaded Source

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