Source code for shoop.testing.service_forms

# This file is part of Shoop.
#
# Copyright (c) 2012-2016, Shoop Ltd. All rights reserved.
#
# This source code is licensed under the AGPLv3 license found in the
# LICENSE file in the root directory of this source tree.

from shoop.admin.forms import ShoopAdminForm

from .models import (
    CarrierWithCheckoutPhase, PaymentWithCheckoutPhase, PseudoPaymentProcessor
)


[docs]class PseudoPaymentProcessorForm(ShoopAdminForm):
[docs] class Meta: model = PseudoPaymentProcessor exclude = ["identifier"]
[docs]class PaymentWithCheckoutPhaseForm(ShoopAdminForm):
[docs] class Meta: model = PaymentWithCheckoutPhase exclude = ["identifier"]
[docs]class CarrierWithCheckoutPhaseForm(ShoopAdminForm):
[docs] class Meta: model = CarrierWithCheckoutPhase exclude = ["identifier"]