Skip to content

Commit

Permalink
[lint] Fix whitespace error in test_api.py:97
Browse files Browse the repository at this point in the history
Resolved linting issue: E202 whitespace before '}' in ./openwisp_controller/geo/tests/test_api.py at line 97. Ensured code adheres to PEP 8 standards for better readability and consistency.
  • Loading branch information
dee077 committed Dec 23, 2024
1 parent 4551444 commit 85f0a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openwisp_controller/geo/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def test_put_create_location(self):
device = self._create_object()
self.assertEqual(self.location_model.objects.count(), 0)
url = reverse(self.url_name, args=[device.pk])
r = self.client.put(f'{url}?key={device.key }')
r = self.client.put(f'{url}?key={device.key}')
self.assertEqual(r.status_code, 200)
self.assertDictEqual(
r.json(),
Expand Down

0 comments on commit 85f0a00

Please sign in to comment.