forked from extern/django-helpdesk
cleanup build-breaking whitespace merge errors
This commit is contained in:
parent
26c0f2e59f
commit
28308d19fb
@ -61,17 +61,6 @@ class Command(BaseCommand):
|
||||
def __init__(self):
|
||||
BaseCommand.__init__(self)
|
||||
|
||||
# Django 1.7 uses different way to specify options than 1.8+
|
||||
if VERSION < (1, 8):
|
||||
self.option_list += (
|
||||
make_option(
|
||||
'--quiet',
|
||||
default=False,
|
||||
action='store_true',
|
||||
dest='quiet',
|
||||
help='Hide details about each queue/message as they are processed'),
|
||||
)
|
||||
|
||||
help = 'Process django-helpdesk queues and process e-mails via POP3/IMAP or ' \
|
||||
'from a local mailbox directory as required, feeding them into the helpdesk.'
|
||||
|
||||
|
@ -20,8 +20,9 @@ except ImportError:
|
||||
# Python < 3.3
|
||||
import mock
|
||||
|
||||
|
||||
class GetEmailTestCase(TestCase):
|
||||
#fixtures = ['emailtemplate.json'] # may don't need this, not testing templates here
|
||||
# fixtures = ['emailtemplate.json'] # may not need this, not testing templates here
|
||||
|
||||
def setUp(self):
|
||||
self.queue_public = Queue.objects.create(title='Queue 1', slug='QQ', allow_public_submission=True, allow_email_submission=True, email_box_type='local', email_box_local_dir='/var/lib/mail/helpdesk/')
|
||||
@ -56,6 +57,3 @@ class GetEmailTestCase(TestCase):
|
||||
ticket2 = get_object_or_404(Ticket, pk=2)
|
||||
self.assertEqual(ticket2.ticket_for_url, "QQ-%s" % ticket2.id)
|
||||
self.assertEqual(ticket2.description, "This is the helpdesk comment via email.")
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user