general_posts/python-weather-api/README.md

588 B

Behavior Testing With Fake Flask Weather API

This sample code is relate to the following blog post:

In this code sample, we look at a simple weather API programmed in Python, using Flask. We provided the code to generate the fake data and scripts to load a sqlite database.

The demo is used to show some strategies to assert the behavior of the API aserting the expected response codes that are expected to occur.

Screenshot

historical weather api python