fix: format
This commit is contained in:
parent
fb24ec24e4
commit
2c5643e929
|
|
@ -6,11 +6,7 @@ from rest_framework.test import APITestCase
|
||||||
|
|
||||||
from vbv_lernwelt.core.admin import User
|
from vbv_lernwelt.core.admin import User
|
||||||
from vbv_lernwelt.shop.const import VV_DE_PRODUCT_SKU
|
from vbv_lernwelt.shop.const import VV_DE_PRODUCT_SKU
|
||||||
from vbv_lernwelt.shop.models import (
|
from vbv_lernwelt.shop.models import CheckoutInformation, CheckoutState, Product
|
||||||
CheckoutInformation,
|
|
||||||
CheckoutState,
|
|
||||||
Product,
|
|
||||||
)
|
|
||||||
from vbv_lernwelt.shop.services import InitTransactionException
|
from vbv_lernwelt.shop.services import InitTransactionException
|
||||||
|
|
||||||
USER_USERNAME = "testuser"
|
USER_USERNAME = "testuser"
|
||||||
|
|
|
||||||
|
|
@ -9,11 +9,7 @@ from vbv_lernwelt.course.consts import COURSE_VERSICHERUNGSVERMITTLERIN_ID
|
||||||
from vbv_lernwelt.course.creators.test_utils import create_course, create_course_session
|
from vbv_lernwelt.course.creators.test_utils import create_course, create_course_session
|
||||||
from vbv_lernwelt.course.models import CourseSessionUser
|
from vbv_lernwelt.course.models import CourseSessionUser
|
||||||
from vbv_lernwelt.shop.const import VV_DE_PRODUCT_SKU
|
from vbv_lernwelt.shop.const import VV_DE_PRODUCT_SKU
|
||||||
from vbv_lernwelt.shop.models import (
|
from vbv_lernwelt.shop.models import CheckoutInformation, CheckoutState, Product
|
||||||
CheckoutInformation,
|
|
||||||
CheckoutState,
|
|
||||||
Product,
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
def create_checkout_information(
|
def create_checkout_information(
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ from rest_framework.permissions import IsAuthenticated
|
||||||
from rest_framework.response import Response
|
from rest_framework.response import Response
|
||||||
|
|
||||||
from vbv_lernwelt.course.consts import (
|
from vbv_lernwelt.course.consts import (
|
||||||
COURSE_VERSICHERUNGSVERMITTLERIN_ID,
|
|
||||||
COURSE_VERSICHERUNGSVERMITTLERIN_FR_ID,
|
COURSE_VERSICHERUNGSVERMITTLERIN_FR_ID,
|
||||||
|
COURSE_VERSICHERUNGSVERMITTLERIN_ID,
|
||||||
COURSE_VERSICHERUNGSVERMITTLERIN_IT_ID,
|
COURSE_VERSICHERUNGSVERMITTLERIN_IT_ID,
|
||||||
)
|
)
|
||||||
from vbv_lernwelt.course.models import CourseSession, CourseSessionUser
|
from vbv_lernwelt.course.models import CourseSession, CourseSessionUser
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue