diff options
| author | rr- | 2016-07-03 14:22:53 +0200 |
|---|---|---|
| committer | rr- | 2016-07-03 18:30:32 +0200 |
| commit | c21494be25a1c73765cfd895fa497eacd71eb4d2 (patch) | |
| tree | ec5426628785572dfb0148a12c84c7e64e0f749c /server/szurubooru/tests/func/test_snapshots.py | |
| parent | 48d6fb6b433fdae5bdc5532d5a0968e656897968 (diff) | |
server/posts: make relations bidirectional
Diffstat (limited to 'server/szurubooru/tests/func/test_snapshots.py')
| -rw-r--r-- | server/szurubooru/tests/func/test_snapshots.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/szurubooru/tests/func/test_snapshots.py b/server/szurubooru/tests/func/test_snapshots.py index c82b82f..abb182d 100644 --- a/server/szurubooru/tests/func/test_snapshots.py +++ b/server/szurubooru/tests/func/test_snapshots.py @@ -38,8 +38,8 @@ def test_serializing_post(post_factory, user_factory, tag_factory): post.source = 'example.com' post.tags.append(tag1) post.tags.append(tag2) - post.relations.append(related_post1) - post.relations.append(related_post2) + post.relating_to.append(related_post1) + post.relating_to.append(related_post2) post.scores.append(score) post.favorited_by.append(favorite) post.features.append(feature) |