Skip to content

Commit d93a505

Browse files
committed
Add more asserts to test
1 parent 35ea60b commit d93a505

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test_main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ def test_create_comment():
1212
path = ft.create_new_comment("Leon", "leon@gmail.com", "Do you dream, Elliot?", comment_fname, ["example",])
1313

1414
comments = ft.get_comments_for_slug("example", [".",])
15+
16+
assert comments[1].created_by == "Leon"
1517
assert len(comments) == 2
1618

1719
# Cleanup after yourself!

0 commit comments

Comments
 (0)