generated from boot-sandre/django-spaninja
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate license to all tests/ python files
- Loading branch information
1 parent
697927d
commit 055f72d
Showing
16 changed files
with
112 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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É <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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É <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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É <[email protected]> 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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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É <[email protected]> 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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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É <[email protected]> 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 | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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É <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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É <[email protected]> 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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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É <[email protected]> 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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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É <[email protected]> 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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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É <[email protected]> synw (https://github.com/synw/) | ||
# project: SkiiSchoolPlatform | ||
# github: https://github.com/boot-sandre/skii-school-platform/ | ||
# template: https://github.com/synw/django-spaninja |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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É <[email protected]> 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 | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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É <[email protected]> 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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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É <[email protected]> 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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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É <[email protected]> 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 | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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É <[email protected]> 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 | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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É <[email protected]> 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 | ||
|
||
|