Add: account views, tests, override user model

This commit is contained in:
2023-09-10 12:34:54 +09:00
parent 305001c9ab
commit 2cba6321c2
25 changed files with 375 additions and 19 deletions

View File

@@ -1,9 +1,9 @@
from pathlib import Path
from django.test import TestCase
from django.contrib.auth.models import User
from django.core.files.base import ContentFile
from django.conf import settings
from account.models import User
from collector.models import Platform, Ticket, Archive

View File

@@ -1,6 +1,7 @@
from django.test import TestCase
from django.urls import resolve, reverse
from django.contrib.auth.models import User
from account.models import User
from collector import views
from collector.models import Ticket, Platform

View File

@@ -1,6 +1,7 @@
from django.test import TestCase, Client
from django.urls import reverse
from django.contrib.auth.models import User
from account.models import User
from collector.models import Ticket, Platform