1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #3663: fix PEP errors

This commit is contained in:
struppi
2019-12-26 12:26:41 +01:00
parent d31507985b
commit 407a60dcc4

View File

@ -575,7 +575,7 @@ class CreatedUpdatedFilterTest(APITestCase):
last_updated = self.rack2.last_updated.strftime("%Y-%m-%d %H:%M:%S.%f")
url = reverse('dcim-api:rack-list')
response = self.client.get(('{}?last_updated='+last_updated).format(url), **self.header)
response = self.client.get(('{}?last_updated=' + last_updated).format(url), **self.header)
self.assertEqual(response.data['count'], 1)
@ -584,7 +584,7 @@ class CreatedUpdatedFilterTest(APITestCase):
last_updated = last_updated_delta.strftime("%Y-%m-%d %H:%M:%S")
url = reverse('dcim-api:rack-list')
response = self.client.get(('{}?last_updated__gte='+last_updated).format(url), **self.header)
response = self.client.get(('{}?last_updated__gte=' + last_updated).format(url), **self.header)
self.assertEqual(response.data['count'], 1)