Module 1: Introduction to pytest

# test_sample.py

def test_addition():
    assert 1 + 2 == 3

def test_subtraction():
    assert 4 - 2 == 2

Last updated