def test_get_pricing_steps(rf): (request, products, price) = initialize_test(rf) pis = get_pricing_steps(request, products[0]) assert len(pis) == 1 assert pis[0].quantity == 1 assert pis[0].price == price(90) assert pis[0].base_price == price(120)