From 93dcd26118c2a956631ba2526ee85115b81f3aea Mon Sep 17 00:00:00 2001 From: jinder1s Date: Wed, 9 Oct 2019 09:30:52 -0400 Subject: [PATCH] quality fixes --- openedx/core/djangolib/tests/test_js_utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openedx/core/djangolib/tests/test_js_utils.py b/openedx/core/djangolib/tests/test_js_utils.py index e5d78c674a..7ab333d577 100644 --- a/openedx/core/djangolib/tests/test_js_utils.py +++ b/openedx/core/djangolib/tests/test_js_utils.py @@ -4,6 +4,7 @@ Tests for js_utils.py """ from __future__ import absolute_import +import re import six.moves.html_parser # pylint: disable=import-error import json from unittest import TestCase @@ -12,7 +13,6 @@ from mako.template import Template from openedx.core.djangolib.js_utils import dump_js_escaped_json, js_escaped_string import six # pylint: disable=ungrouped-imports -import re class TestJSUtils(TestCase): @@ -141,7 +141,6 @@ class TestJSUtils(TestCase): r""test_tuple": [1, 2, 3], "test_string": " r""test-=&\\;'\"<>\u2603"}" ) - expected_attr_json_for_html = "data-test-dict='" + expected_json_for_html + "'" self._validate_expectation_of_json_for_html(test_dict, expected_json_for_html) self.assertIn(""test_tuple": [1, 2, 3]", out) self.assertIn(""test_number": 3.5", out)