mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-17 18:09:25 +02:00
lint
This commit is contained in:
parent
7c5eb79f0a
commit
9b90172cd3
3 changed files with 4 additions and 6 deletions
|
@ -1,6 +1,4 @@
|
||||||
from django.test import TestCase
|
from django.test import TestCase
|
||||||
from django.contrib.auth import get_user_model
|
|
||||||
from django.utils import timezone
|
|
||||||
from registrar.models import User
|
from registrar.models import User
|
||||||
from ..backends import OpenIdConnectBackend # Adjust the import path based on your project structure
|
from ..backends import OpenIdConnectBackend # Adjust the import path based on your project structure
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ from registrar.management.commands.copy_names_from_contacts_to_users import Comm
|
||||||
class TestDataUpdates(TestCase):
|
class TestDataUpdates(TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
"""We cannot setup the user details because contacts will override the first and last names in its save method
|
"""We cannot setup the user details because contacts will override the first and last names in its save method
|
||||||
so we will initiate the users, setup the contacts and link them, and leave the rest of the setup for the test(s).
|
so we will initiate the users, setup the contacts and link them, and leave the rest of the setup to the test(s).
|
||||||
"""
|
"""
|
||||||
|
|
||||||
self.user1 = User.objects.create(username="user1")
|
self.user1 = User.objects.create(username="user1")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue