# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
authors = PersonStub(("Common",), "Man"), PersonStub(("Jane",), "Doe")
child_info = BookInfoStub(authors=authors, genre="Genre", epoch='Epoch', kind="Kind",
authors = PersonStub(("Common",), "Man"), PersonStub(("Jane",), "Doe")
child_info = BookInfoStub(authors=authors, genre="Genre", epoch='Epoch', kind="Kind",
parent_info = BookInfoStub(authors=authors, genre="Genre", epoch='Epoch', kind="Kind",
parts=[child_info.url],
parent_info = BookInfoStub(authors=authors, genre="Genre", epoch='Epoch', kind="Kind",
parts=[child_info.url],
self.child = models.Book.from_text_and_meta(ContentFile('<utwor/>'), child_info)
models.Book.from_text_and_meta(ContentFile('<utwor/>'), parent_info)
self.child = models.Book.from_text_and_meta(ContentFile('<utwor/>'), child_info)
models.Book.from_text_and_meta(ContentFile('<utwor/>'), parent_info)