Format code, fix lint errors
This commit is contained in:
parent
794c18fb41
commit
507c1a63f7
|
|
@ -1,8 +1,6 @@
|
|||
<script setup lang="ts">
|
||||
import { calculateCircleSectorData } from "@/pages/learningPath/learningPathPage/utils";
|
||||
import { useCourseDataWithCompletion } from "@/composables";
|
||||
import UserProfileContent from "@/components/userProfile/UserProfileContent.vue";
|
||||
import LearningPathCircle from "@/pages/learningPath/learningPathPage/LearningPathCircle.vue";
|
||||
import LearningSequence from "@/pages/learningPath/circlePage/LearningSequence.vue";
|
||||
import { computed, ref, watch } from "vue";
|
||||
import type { CircleType } from "@/types";
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ describe("Onboarding", () => {
|
|||
mockNext
|
||||
);
|
||||
expect(mockNext).toHaveBeenCalledWith({
|
||||
name: "checkoutAddress",
|
||||
name: "accountCourseProfile",
|
||||
params: { courseType: testCase },
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import random
|
|||
from datetime import datetime, timedelta
|
||||
|
||||
import djclick as click
|
||||
from dateutil.relativedelta import MO, TH, TU, relativedelta
|
||||
from dateutil.relativedelta import MO, relativedelta, TH, TU
|
||||
from django.utils import timezone
|
||||
|
||||
from vbv_lernwelt.assignment.creators.create_assignments import (
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
# Generated by Django 4.2.13 on 2024-07-22 19:45
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
import vbv_lernwelt.course.models
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,15 +4,14 @@ from django.db import migrations, models
|
|||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('learnpath', '0018_auto_20240711_1527'),
|
||||
("learnpath", "0018_auto_20240711_1527"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='circle',
|
||||
name='is_base_circle',
|
||||
model_name="circle",
|
||||
name="is_base_circle",
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# Generated by Django 4.2.13 on 2024-07-22 19:45
|
||||
|
||||
from django.db import migrations
|
||||
import wagtail.images.models
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
|
|
|||
|
|
@ -4,15 +4,14 @@ from django.db import migrations, models
|
|||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('shop', '0015_cembra_fields'),
|
||||
("shop", "0015_cembra_fields"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='checkoutinformation',
|
||||
name='refno2',
|
||||
model_name="checkoutinformation",
|
||||
name="refno2",
|
||||
field=models.CharField(max_length=255),
|
||||
),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# Generated by Django 4.2.13 on 2024-07-22 19:45
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
|
|
|||
|
|
@ -19,11 +19,11 @@ from vbv_lernwelt.shop.const import (
|
|||
)
|
||||
from vbv_lernwelt.shop.models import CheckoutInformation, CheckoutState, Product
|
||||
from vbv_lernwelt.shop.services import (
|
||||
InitTransactionException,
|
||||
create_context_data_log,
|
||||
datatrans_state_to_checkout_state,
|
||||
get_payment_url,
|
||||
init_datatrans_transaction,
|
||||
InitTransactionException,
|
||||
is_signature_valid,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue