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.3.tar.gz (15.9 kB view details)

Uploaded Source

File details

Details for the file preggy-1.1.3.tar.gz.

File metadata

  • Download URL: preggy-1.1.3.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for preggy-1.1.3.tar.gz
Algorithm Hash digest
SHA256 17095824c66e982df3d16e270bd76c492140251afe4e90d2395691a7b4fd65d7
MD5 589bf8b0ca45aa7837dc01b5a7d1eff0
BLAKE2b-256 beb11769a284a178ee8eeba010052243f0be45a37e5eda9a1124c0083b144aa7

See more details on using hashes here.

Supported by

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