diff --git a/tests/__init__.py b/tests/__init__.py index e69de29..4d6e599 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -0,0 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja diff --git a/tests/account/__init__.py b/tests/account/__init__.py index e69de29..4d6e599 100644 --- a/tests/account/__init__.py +++ b/tests/account/__init__.py @@ -0,0 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja diff --git a/tests/account/test_api.py b/tests/account/test_api.py index 6d79309..b949d41 100644 --- a/tests/account/test_api.py +++ b/tests/account/test_api.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from django.contrib.auth import get_user_model from apps.account.utils.token import encode_token from main.api import api diff --git a/tests/account/test_utils.py b/tests/account/test_utils.py index 48124bc..4f1fea7 100644 --- a/tests/account/test_utils.py +++ b/tests/account/test_utils.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from django.test.client import RequestFactory from apps.account.forms.registration import RegistrationForm from apps.account.utils.email import email_activation_token diff --git a/tests/conftest.py b/tests/conftest.py index c2f7acc..3e10a1c 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja import pytest diff --git a/tests/endpoint/__init__.py b/tests/endpoint/__init__.py index e69de29..4d6e599 100644 --- a/tests/endpoint/__init__.py +++ b/tests/endpoint/__init__.py @@ -0,0 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja diff --git a/tests/endpoint/test_api_agenda.py b/tests/endpoint/test_api_agenda.py index fc45a3d..5fe69b0 100644 --- a/tests/endpoint/test_api_agenda.py +++ b/tests/endpoint/test_api_agenda.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from skii.endpoint.routers.agenda import MsgErrorStudent from skii.platform.models.event import LessonEvent from tests.testcase import SkiiControllerTestCase diff --git a/tests/endpoint/test_api_rest.py b/tests/endpoint/test_api_rest.py index b5a8cdb..84a9e0a 100644 --- a/tests/endpoint/test_api_rest.py +++ b/tests/endpoint/test_api_rest.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from skii.platform.schemas.resource import LocationSaveContract from ..testcase import SkiiTestCase from skii.platform.schemas.agent import TeacherSaveContract, StudentSaveContract diff --git a/tests/endpoint/test_skii_api_testcase.py b/tests/endpoint/test_skii_api_testcase.py index cf0f74d..d173997 100644 --- a/tests/endpoint/test_skii_api_testcase.py +++ b/tests/endpoint/test_skii_api_testcase.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from django.urls import reverse_lazy from skii.platform.schemas.resource import LocationSaveContract diff --git a/tests/platform/__init__.py b/tests/platform/__init__.py index e69de29..4d6e599 100644 --- a/tests/platform/__init__.py +++ b/tests/platform/__init__.py @@ -0,0 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja diff --git a/tests/platform/test_controllers.py b/tests/platform/test_controllers.py index 637e6e5..eb92623 100644 --- a/tests/platform/test_controllers.py +++ b/tests/platform/test_controllers.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from tests.testcase import SkiiControllerTestCase diff --git a/tests/platform/test_date_range.py b/tests/platform/test_date_range.py index ecdb7c9..3d1b53d 100644 --- a/tests/platform/test_date_range.py +++ b/tests/platform/test_date_range.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja import unittest from skii.platform.models.agent import TeacherAgent diff --git a/tests/platform/test_models.py b/tests/platform/test_models.py index 9c63e1f..a23de99 100644 --- a/tests/platform/test_models.py +++ b/tests/platform/test_models.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from skii.platform.schemas.resource import LocationContract from ..testcase import SkiiTestCase diff --git a/tests/test_ninja_api.py b/tests/test_ninja_api.py index 603f82b..d354702 100644 --- a/tests/test_ninja_api.py +++ b/tests/test_ninja_api.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from main.api import api diff --git a/tests/test_testcase.py b/tests/test_testcase.py index e5e9eab..593887b 100644 --- a/tests/test_testcase.py +++ b/tests/test_testcase.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from .testcase import SkiiTestCase diff --git a/tests/testcase.py b/tests/testcase.py index a5dbc50..f9a7ca4 100644 --- a/tests/testcase.py +++ b/tests/testcase.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from datetime import datetime, timedelta, time, UTC, date from typing import Dict, List, Literal, Any, Optional