Skip to content

Commit

Permalink
Remove unnecessary parameters from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
juho-kettunen-nc committed Nov 21, 2024
1 parent 6d0932c commit b17691f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions leasing/tests/serializers/test_rent.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ def rent_with_override_receivable_type(

@pytest.mark.django_db
def test_validate_override_receivable_type_invalid_service_unit(
django_db_setup,
receivable_type_factory,
rent_without_override_receivable_type,
):
Expand Down Expand Up @@ -96,7 +95,6 @@ def test_validate_override_receivable_type_invalid_service_unit(

@pytest.mark.django_db
def test_validate_override_receivable_type_valid_inputs(
django_db_setup,
receivable_type_factory,
rent_with_override_receivable_type,
rent_types_with_override,
Expand Down Expand Up @@ -125,9 +123,7 @@ def test_validate_override_receivable_type_valid_inputs(


@pytest.mark.django_db
def test_validate_override_receivable_type_lacking_inputs(
django_db_setup,
):
def test_validate_override_receivable_type_lacking_inputs():
"""
RentCreateUpdateSerializer should allow empty override receivable type
input, when no additional details are known about the service unit or
Expand All @@ -150,7 +146,6 @@ def test_validate_override_receivable_type_lacking_inputs(

@pytest.mark.django_db
def test_validate_override_receivable_type_missing_receivabletype(
django_db_setup,
rent_with_override_receivable_type,
rent_types_with_override,
):
Expand Down Expand Up @@ -178,7 +173,6 @@ def test_validate_override_receivable_type_missing_receivabletype(

@pytest.mark.django_db
def test_validate_override_receivable_type_invalid_rent_type(
django_db_setup,
receivable_type_factory,
rent_with_override_receivable_type,
rent_without_override_receivable_type,
Expand Down

0 comments on commit b17691f

Please sign in to comment.