Skip to content
Example of making using and testing an API in python
Branch: master
Clone or download
Latest commit 4bd6c19 Feb 26, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Update .gitignore Feb 26, 2019
LICENSE Initial commit Jan 31, 2019
README.md Update README.md Feb 19, 2019
booking_generator.py Generate random bookings Feb 19, 2019
restfullbooker.py Generate random bookings Feb 19, 2019
stable-req.txt Update stable-req.txt Feb 19, 2019
test_restfull_bookings.py Generate random bookings Feb 19, 2019

README.md

pybooker

Example of making using and testing an API in python

Inspired by the article https://realpython.com/api-integration-in-python/ this project is a learning excercise.

I am making use of the Restfull Booker application (https://restful-booker.herokuapp.com/) "An API playground created by Mark Winteringham for those wanting to learn more about API testing and tools".

I am also making use of the assert_that module (https://github.com/ActivisionGameScience/assertpy)

You can run the test in pytest using: pytest .\test_restfull_bookings.py

Install requirements with: install -r requirements.txt

You can’t perform that action at this time.