1 # This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
5 from librarian.parser import WLDocument
6 from librarian.html import transform_abstrakt
7 from .utils import get_fixture
10 class AbstractTests(unittest.TestCase):
11 def test_abstrakt(self):
14 get_fixture('text', 'abstrakt.xml'),
15 parse_dublincore=False
16 ).edoc.getroot().find('.//abstrakt')