1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Testing in Python

Connected

Exercise

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.

Instructions 1/3

undefined XP
    1
    2
    3
  • Start with importing the pytest package.