From 3d715e1371be98b705e5e0345a7920eb129c8bbf Mon Sep 17 00:00:00 2001 From: Matti Lamppu Date: Fri, 4 Oct 2024 09:26:10 +0300 Subject: [PATCH] Fix issues after rebase --- tests/test_graphql_api/test_reservation_unit/test_pricing.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_graphql_api/test_reservation_unit/test_pricing.py b/tests/test_graphql_api/test_reservation_unit/test_pricing.py index bce423331..b4ad0bfc7 100644 --- a/tests/test_graphql_api/test_reservation_unit/test_pricing.py +++ b/tests/test_graphql_api/test_reservation_unit/test_pricing.py @@ -1,7 +1,9 @@ import datetime +from decimal import Decimal import pytest +from tests.factories import TaxPercentageFactory from tilavarauspalvelu.api.graphql.extensions import error_codes from tilavarauspalvelu.models import ReservationUnit from utils.date_utils import local_date @@ -34,6 +36,8 @@ def test_reservation_unit__create__pricing__is_required_for_non_drafts(graphql): def test_reservation_unit__create__pricing__free_pricing_doesnt_require_price_information(graphql): + TaxPercentageFactory.create(value=Decimal("0.0")) + graphql.login_with_superuser() data = get_create_draft_input_data( pricings=[