Skip to main content

nose plugin that will skip Google API RequestError exceptions.

Project description

This is a simple nose plugin which acts like the SkipTest plugin for Google’s RequestError exception.

Testing against live Google APIs–other than being a bad idea to begin with–often results in random RequestError responses from Google. We may not want these exceptions to cause test failures as they are transient and may be handled gracefully by other parts of the system. To that end, nose-skipreq was created.

When running nosetests with the --skip-req flag, all tests which raise RequestError will be marked SKIP instead of FAIL. That’s it!

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

nose-skipreq-1.0.tar.gz (2.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page