"""
Test cases for resource type page.
"""
from unittest import TestCase
from atextcrawler.utils.html import clean_body
# from atextcrawler.utils.tag import drop_tags
class PageCleanTest(TestCase):
def test_clean_body_1(self):
s = ' Helloworld '
r = 'Helloworld'
self.assertEqual(clean_body(s), r)
# def test_drop_tags(self):
# s = ''
# r = drop_tags(s)
# self.assertEqual(r, '')
# s = ''
# r = drop_tags(s)
# self.assertEqual(r, '')