summaryrefslogtreecommitdiff
path: root/tests/check_framework/test_async_checks.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check_framework/test_async_checks.py')
-rw-r--r--tests/check_framework/test_async_checks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check_framework/test_async_checks.py b/tests/check_framework/test_async_checks.py
index fa7f840172..a054503ca8 100644
--- a/tests/check_framework/test_async_checks.py
+++ b/tests/check_framework/test_async_checks.py
@@ -6,10 +6,10 @@ from django.test import SimpleTestCase
class AsyncCheckTests(SimpleTestCase):
- @mock.patch.dict(os.environ, {'DJANGO_ALLOW_ASYNC_UNSAFE': ''})
+ @mock.patch.dict(os.environ, {"DJANGO_ALLOW_ASYNC_UNSAFE": ""})
def test_no_allowed_async_unsafe(self):
self.assertEqual(check_async_unsafe(None), [])
- @mock.patch.dict(os.environ, {'DJANGO_ALLOW_ASYNC_UNSAFE': 'true'})
+ @mock.patch.dict(os.environ, {"DJANGO_ALLOW_ASYNC_UNSAFE": "true"})
def test_allowed_async_unsafe_set(self):
self.assertEqual(check_async_unsafe(None), [E001])