Get startedGet started for free

Data preparation

In this exercise you will create a fixture and finish test functions. Here, you have a simple data pipeline and some tests to check the data it returns. Since the tests goal is to check that the data is correct, it would be convenient to implement the pipeline as a fixture.

This exercise is part of the course

Introduction to Testing in Python

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Import the pytest library
____
Edit and Run Code