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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for preggy-1.2.0.tar.gz
Algorithm Hash digest
SHA256 ea7cedcb49d3d3a202c2a8e4dbd6289aab096772adb659116bc91a17048a1d1d
MD5 538ecb18141c3a7d1f3bee23b64f8061
BLAKE2b-256 7a84af5d1a42a146b7b614f1fc1c6c848a6322450feba96304b4ad9bfef9d041

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