Skip to main content

assertion library like chai.expect.

Project description

https://travis-ci.org/float1251/expectpy.svg?branch=master

this is assertion library like chai.expect

not yet implemented

  • deep

  • keys

  • instanceof

  • respondTo

  • itself

  • closeTo

  • members

Example

from expectpy import expect
expect(1).to.be.equal(1)
expect("1").to.be.length(1)
expect([1, 2, 3]).to_not.contain(4)

License

(The MIT License)

Copyright (c) 2011-2014 takahiro iwatani taka.05022002@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

expectpy-0.0.4.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file expectpy-0.0.4.tar.gz.

File metadata

  • Download URL: expectpy-0.0.4.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for expectpy-0.0.4.tar.gz
Algorithm Hash digest
SHA256 49672418d5720a013403a5f21748aec5dd6a730475c41bdddc2c16ed164539a4
MD5 a3f72845068815a0c818d6fd70ea38a0
BLAKE2b-256 3a005ea46788270c993671af2530744992d13e9516694e99de9047154d1f3054

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