From b17691fc4f7fba9622dce65f57e83bd98377e129 Mon Sep 17 00:00:00 2001 From: Juho Kettunen Date: Thu, 21 Nov 2024 13:39:39 +0200 Subject: [PATCH] Remove unnecessary parameters from tests --- leasing/tests/serializers/test_rent.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/leasing/tests/serializers/test_rent.py b/leasing/tests/serializers/test_rent.py index 1685168d..98256767 100644 --- a/leasing/tests/serializers/test_rent.py +++ b/leasing/tests/serializers/test_rent.py @@ -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, ): @@ -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, @@ -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 @@ -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, ): @@ -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,