From 95ee61fe90b16c3e788d4bd5fda6648b8282bae9 Mon Sep 17 00:00:00 2001 From: Garret Wassermann Date: Fri, 16 Feb 2018 05:04:10 -0500 Subject: [PATCH] Fix PEP8 errors --- helpdesk/tests/test_ticket_actions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/helpdesk/tests/test_ticket_actions.py b/helpdesk/tests/test_ticket_actions.py index 3f1d4154..66f7bbd2 100644 --- a/helpdesk/tests/test_ticket_actions.py +++ b/helpdesk/tests/test_ticket_actions.py @@ -18,7 +18,7 @@ from helpdesk.views.staff import _is_my_ticket class TicketActionsTestCase(TestCase): fixtures = ['emailtemplate.json'] - def setUp(self): + def setUp(self): self.queue_public = Queue.objects.create( title='Queue 1', slug='q1', @@ -127,7 +127,7 @@ class TicketActionsTestCase(TestCase): } response = self.client.post(reverse('helpdesk:update', kwargs={'ticket_id': ticket_id}), post_data, follow=True) self.assertContains(response, 'Changed Status from Open to Closed') - + def test_is_my_ticket(self): """Tests whether non-staff but assigned user still counts as owner""" @@ -150,7 +150,7 @@ class TicketActionsTestCase(TestCase): # create ticket ticket = Ticket.objects.create(**initial_data) - + self.assertEqual(_is_my_ticket(self.user, ticket), True) self.assertEqual(_is_my_ticket(self.user2, ticket), False)