Use space as separator when removing tags

This commit is contained in:
Sajith Sasidharan 2020-07-28 07:10:44 -04:00
parent 80802a74cd
commit adca146a1b

View File

@ -131,7 +131,7 @@ class WebResultsRendering(unittest.TestCase):
@staticmethod @staticmethod
def remove_tags(html): def remove_tags(html):
return BeautifulSoup(html).get_text() return BeautifulSoup(html).get_text(separator=" ")
def create_fake_client(self): def create_fake_client(self):
sb = StorageFarmBroker(True, None, EMPTY_CLIENT_CONFIG) sb = StorageFarmBroker(True, None, EMPTY_CLIENT_CONFIG)