diff options
| author | rr- <rr-@sakuya.pl> | 2016-05-30 22:07:44 +0200 |
|---|---|---|
| committer | rr- <rr-@sakuya.pl> | 2016-05-30 22:54:33 +0200 |
| commit | d0314813cb284cbe50101fcea32bf7126a59ba74 (patch) | |
| tree | 231361c313b48f6c0834900f8be9c339b542f0f6 /server/szurubooru/tests/api/test_post_retrieving.py | |
| parent | 48bcbbff83e18d614ccff0b11c655fa86291f62c (diff) | |
server/general: move extra details to resources
Diffstat (limited to 'server/szurubooru/tests/api/test_post_retrieving.py')
| -rw-r--r-- | server/szurubooru/tests/api/test_post_retrieving.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/szurubooru/tests/api/test_post_retrieving.py b/server/szurubooru/tests/api/test_post_retrieving.py index deda634..3ceff64 100644 --- a/server/szurubooru/tests/api/test_post_retrieving.py +++ b/server/szurubooru/tests/api/test_post_retrieving.py @@ -81,8 +81,8 @@ def test_retrieving_single(test_ctx): user=test_ctx.user_factory(rank=db.User.RANK_REGULAR)), 1) assert 'post' in result assert 'id' in result['post'] - assert 'snapshots' in result - assert 'comments' in result + assert 'snapshots' in result['post'] + assert 'comments' in result['post'] def test_trying_to_retrieve_single_non_existing(test_ctx): with pytest.raises(posts.PostNotFoundError): |