fix desc for Agnes in test/test_showing_columns.py

This commit is contained in:
Trent Palmer 2023-08-29 18:02:04 -07:00
parent 3112ead109
commit 45099f8405

View File

@ -1,3 +1,4 @@
import re
from test.test_selenium import TestSelenium
from unittest import TestCase
from bs4 import BeautifulSoup as Bs
@ -67,6 +68,12 @@ class TestShowingColumns(TestSelenium, TestCase):
desc = '' if self.themes[i].desc is None else self.themes[i].desc
if self.themes[i].cname == "Agnes":
# remove closing html tag in desc
desc = re.sub(r'</.*>', '', desc)
# remove opening html tag in desc
desc = re.sub(r'<.*>', '', desc)
self.assertEqual(
tds_txt,
[self.themes[i].cname, min_ver, license, desc, tags, features],