website/registrations/tests/test_admin.py
File test_admin.py
has 350 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
from unittest import mock
from django.contrib.admin import AdminSite
from django.contrib.auth.models import Permission
from django.http import HttpRequest
- Create a ticketCreate a ticket