diff --git a/django_components/middleware.py b/django_components/middleware.py
index 7ce173bf..e230983a 100644
--- a/django_components/middleware.py
+++ b/django_components/middleware.py
@@ -11,7 +11,9 @@ CSS_DEPENDENCY_PLACEHOLDER = ''
JS_DEPENDENCY_PLACEHOLDER = ''
SCRIPT_TAG_REGEX = re.compile("'
- ''
- "Variable: value\n"
- ), rendered)
+ self.assertEqual(
+ (
+ ''
+ ''
+ "Variable: value\n"
+ ),
+ rendered,
+ )