提交 63cc0ac7 编写于 作者: D Doug Farrell

Removed test book insertions

上级 246440c6
......@@ -131,31 +131,6 @@ def main():
book_title="The Stand",
publisher_name="Random House",
)
data = add_new_book(
data,
author_name="Tom Clancy",
book_title="It",
publisher_name="Random House",
)
data = add_new_book(
data,
author_name="Doug Farrell",
book_title="Python and SQLite and SqlAlchemy, Oh My",
publisher_name="Random House",
)
data = add_new_book(
data,
author_name="Tom Clancy",
book_title="It",
publisher_name="Real Python",
)
data = add_new_book(
data,
author_name="Tom Clancy",
book_title="It",
publisher_name="Random House",
)
# Output the updated hierarchical authors data
output_author_hierarchy(data)
......
......@@ -192,30 +192,6 @@ def main():
book_title="The Stand",
publisher_name="Random House",
)
add_new_book(
session,
author_name="Tom Clancy",
book_title="It",
publisher_name="Random House",
)
add_new_book(
session,
author_name="Doug Farrell",
book_title="Python and SQLite and SqlAlchemy, Oh My",
publisher_name="Random House",
)
add_new_book(
session,
author_name="Tom Clancy",
book_title="It",
publisher_name="Real Python",
)
add_new_book(
session,
author_name="Tom Clancy",
book_title="It",
publisher_name="Random House",
)
# Output the updated hierarchical authors data
authors = get_authors(session)
output_author_hierarchy(authors)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册