Browse Source

ref(py3): Fix template tag escaping tests (#20475)

Evan Purkhiser 4 years ago
parent
commit
10c8c9367b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/sentry/templatetags/test_sentry_api.py

+ 1 - 1
tests/sentry/templatetags/test_sentry_api.py

@@ -18,4 +18,4 @@ class SerializeDetailedOrgTest(TestCase):
         result = self.TEMPLATE.render(context={"org": org})
 
         assert "<script>" not in result
-        assert "\u003cscript\u003ealert(1);\u003c/script\u003e" in result
+        assert "\\u003cscript\\u003ealert(1);\\u003c/script\\u003e" in result