Skip to content

Commit

Permalink
Fix issues after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
matti-lamppu committed Oct 18, 2024
1 parent 48d4069 commit 3d715e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_graphql_api/test_reservation_unit/test_pricing.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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=[
Expand Down

0 comments on commit 3d715e1

Please sign in to comment.