From 6dca39cdfb6994f359f7f286efc9744fa69525fc Mon Sep 17 00:00:00 2001
From: missytake <missytake@systemli.org>
Date: Sun, 19 Mar 2023 14:04:45 +0100
Subject: [PATCH] [tests] Replace single quotes with double quotes

---
 backend/tests/tests_mastodon/conftest.py             |  2 +-
 .../tests_mastodon/test_api_mastodon_delete_bot.py   | 12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/backend/tests/tests_mastodon/conftest.py b/backend/tests/tests_mastodon/conftest.py
index 7b3117f..2e93e27 100644
--- a/backend/tests/tests_mastodon/conftest.py
+++ b/backend/tests/tests_mastodon/conftest.py
@@ -9,7 +9,7 @@ from kibicara.model import Hood
 from kibicara.platforms.mastodon.model import MastodonAccount, MastodonInstance
 
 
-@fixture(scope='function')
+@fixture(scope="function")
 def mastodon(event_loop, hood_id):
     hood = event_loop.run_until_complete(Hood.objects.get(id=hood_id))
     instance = event_loop.run_until_complete(
diff --git a/backend/tests/tests_mastodon/test_api_mastodon_delete_bot.py b/backend/tests/tests_mastodon/test_api_mastodon_delete_bot.py
index 5123639..6375b5f 100644
--- a/backend/tests/tests_mastodon/test_api_mastodon_delete_bot.py
+++ b/backend/tests/tests_mastodon/test_api_mastodon_delete_bot.py
@@ -12,7 +12,7 @@ from kibicara.platforms.mastodon.model import MastodonAccount
 
 def test_mastodon_delete_bot(client, event_loop, mastodon, auth_header):
     response = client.delete(
-        '/api/hoods/{0}/mastodon/{1}'.format(mastodon.hood.id, mastodon.id),
+        "/api/hoods/{0}/mastodon/{1}".format(mastodon.hood.id, mastodon.id),
         headers=auth_header,
     )
     assert response.status_code == status.HTTP_204_NO_CONTENT
@@ -21,22 +21,22 @@ def test_mastodon_delete_bot(client, event_loop, mastodon, auth_header):
 
 
 def test_mastodon_delete_bot_invalid_id(client, auth_header, hood_id):
-    response = client.delete('/api/hoods/1337/mastodon/123', headers=auth_header)
+    response = client.delete("/api/hoods/1337/mastodon/123", headers=auth_header)
     assert response.status_code == status.HTTP_404_NOT_FOUND
-    response = client.delete('/api/hoods/wrong/mastodon/123', headers=auth_header)
+    response = client.delete("/api/hoods/wrong/mastodon/123", headers=auth_header)
     assert response.status_code == status.HTTP_422_UNPROCESSABLE_ENTITY
     response = client.delete(
-        '/api/hoods/{0}/mastodon/7331'.format(hood_id), headers=auth_header
+        "/api/hoods/{0}/mastodon/7331".format(hood_id), headers=auth_header
     )
     assert response.status_code == status.HTTP_404_NOT_FOUND
     response = client.delete(
-        '/api/hoods/{0}/mastodon/wrong'.format(hood_id), headers=auth_header
+        "/api/hoods/{0}/mastodon/wrong".format(hood_id), headers=auth_header
     )
     assert response.status_code == status.HTTP_404_NOT_FOUND
 
 
 def test_mastodon_delete_bot_unauthorized(client, mastodon):
     response = client.delete(
-        '/api/hoods/{0}/mastodon/{1}'.format(mastodon.hood.id, mastodon.id)
+        "/api/hoods/{0}/mastodon/{1}".format(mastodon.hood.id, mastodon.id)
     )
     assert response.status_code == status.HTTP_401_UNAUTHORIZED