from car import Car def test_car_brake(): testee = Car(50) testee.brake() assert testee.speed == 45