Skip to main content

Nextbike API wrapper

Project description

Nextbike API wrapper (unofficial)

How to run the tests

There are two kinds of tests here: unit tests and integration tests. First ones do their job without interaction with some external stuff, e. g. Nextbike API. The latter need to make use of some external API. That makes them more time-consuming.

To be able to run tests, you need to install development packages:

$ pipenv install --dev

So, to run unit tests you need to execute pytest

But if you want to perform deep tests, you need to set a relevant environment variable:

export NEXTBIKE_API_SKIP_INTEGRATION_TESTS=False

and then run the tests:

pytest

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

nextbike_api-0.0.1.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

nextbike_api-0.0.1-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

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