diff --git a/scipost_django/comments/tests/test_factories.py b/scipost_django/comments/tests/test_factories.py new file mode 100644 index 0000000000000000000000000000000000000000..e0d68da636354c0ff6667b1b164f683331e517d4 --- /dev/null +++ b/scipost_django/comments/tests/test_factories.py @@ -0,0 +1,19 @@ +__copyright__ = "Copyright © Stichting SciPost (SciPost Foundation)" +__license__ = "AGPL v3" + +from django.test import TestCase +from ..factories import ReplyCommentFactory, SubmissionCommentFactory + + +class TestReplyCommentFactory(TestCase): + def test_can_create_reply_comments(self): + reply_comment = ReplyCommentFactory() + + self.assertIsNotNone(reply_comment) + + +class TestSubmissionCommentFactory(TestCase): + def test_can_create_submission_comments(self): + submission_comment = SubmissionCommentFactory() + + self.assertIsNotNone(submission_comment)