fix useless escape symbol

This commit is contained in:
Beichi-CHs
2021-11-19 00:26:42 +08:00
parent 040fb6fbbd
commit af641dd421
4 changed files with 6 additions and 4 deletions

View File

@@ -71,7 +71,7 @@ class WebsiteConfigAPITest(APITestCase):
"allow_register": True, "submission_list_show_all": False}
resp = self.client.post(url, data=data)
self.assertSuccess(resp)
self.assertEqual(SysOptions.website_footer, '<img src=\"#\" />')
self.assertEqual(SysOptions.website_footer, '<img src="#" />')
def test_get_website_config(self):
# do not need to login