mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-20 09:37:48 +02:00
Fix linting errors
This commit is contained in:
parent
27857149de
commit
e030bbf2b7
@ -294,7 +294,9 @@ class TicketTest(APITestCase):
|
|||||||
# Check all fields with data returned from the response
|
# Check all fields with data returned from the response
|
||||||
self.maxDiff = None
|
self.maxDiff = None
|
||||||
# The date string generated sometimes has a "Z" appended so until they why is figured out...
|
# The date string generated sometimes has a "Z" appended so until they why is figured out...
|
||||||
date_suffix_hack = "Z" if response.data["followup_set"][0]["date"].endswith("Z") else ""
|
date_suffix_hack = (
|
||||||
|
"Z" if response.data["followup_set"][0]["date"].endswith("Z") else ""
|
||||||
|
)
|
||||||
self.assertDictEqual(
|
self.assertDictEqual(
|
||||||
response.data,
|
response.data,
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user