diff options
Diffstat (limited to 'server/szurubooru/tests/api/test_comment_rating.py')
| -rw-r--r-- | server/szurubooru/tests/api/test_comment_rating.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/szurubooru/tests/api/test_comment_rating.py b/server/szurubooru/tests/api/test_comment_rating.py index c0a00cc..6a8360a 100644 --- a/server/szurubooru/tests/api/test_comment_rating.py +++ b/server/szurubooru/tests/api/test_comment_rating.py @@ -32,8 +32,7 @@ def test_simple_rating(test_ctx, fake_datetime): result = test_ctx.api.put( test_ctx.context_factory(input={'score': 1}, user=user), comment.comment_id) - assert 'comment' in result - assert 'text' in result['comment'] + assert 'text' in result comment = db.session.query(db.Comment).one() assert db.session.query(db.CommentScore).count() == 1 assert comment is not None |