from django.test import TestCase from bookmarks.services.importer import import_netscape_html from bookmarks.tests.helpers import BookmarkFactoryMixin, disable_logging class ImporterTestCase(TestCase, BookmarkFactoryMixin): def create_import_html(self, bookmark_tags_string: str): return f'''
{bookmark_tags_string}
''' @disable_logging def test_validate_empty_or_missing_bookmark_url(self): test_html = self.create_import_html(f'''