mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-25 01:13:31 +01:00
Removing unused test Client
This commit is contained in:
parent
c9ca97516a
commit
210b7b13f8
@ -3,7 +3,6 @@ from datetime import datetime, timedelta
|
|||||||
from django.contrib.auth.hashers import make_password
|
from django.contrib.auth.hashers import make_password
|
||||||
from django.contrib.auth.models import User
|
from django.contrib.auth.models import User
|
||||||
from django.test import TestCase, override_settings
|
from django.test import TestCase, override_settings
|
||||||
from django.test.client import Client
|
|
||||||
from helpdesk.models import FollowUp, Queue, Ticket
|
from helpdesk.models import FollowUp, Queue, Ticket
|
||||||
from helpdesk import settings as helpdesk_settings
|
from helpdesk import settings as helpdesk_settings
|
||||||
import uuid
|
import uuid
|
||||||
@ -25,8 +24,6 @@ class TimeSpentAutoTestCase(TestCase):
|
|||||||
title='test ticket',
|
title='test ticket',
|
||||||
description='test ticket description')
|
description='test ticket description')
|
||||||
|
|
||||||
self.client = Client()
|
|
||||||
|
|
||||||
self.user = User.objects.create(
|
self.user = User.objects.create(
|
||||||
username='staff',
|
username='staff',
|
||||||
email='staff@example.com',
|
email='staff@example.com',
|
||||||
|
Loading…
Reference in New Issue
Block a user