<gh_stars>0
import unittest
from app.models import Post, User, Comment

class TestPost(unittest.TestCase):
    
    def setUp(self):
        self.user_Collins = User(first_name = "Gitonga",last_name = "Isaiah",username = "The G",password = "<PASSWORD>",email = "<EMAIL>")
        self.new_post = Post(post_title = "Sample Title",post_content = "Hallo Welt! Ich bin hier",user_id = self.user_Collins.id)
        self.new_comment = Comment(comment = "Nice job",post_id = self.new_post.id,user_id = self.user_Collins.id)

    def test_instance(self):
        self.assertTrue(isinstance(self.user_Mark, User))
        self.assertTrue(isinstance(self.new_post, Post))
        self.assertTrue(isinstance(self.new_comment, Comment))
import unittest
from app.models import Post, User, Comment

class TestPost(unittest.TestCase):
    
    def setUp(self):
        self.user_Collins = User(first_name = "Gitonga",last_name = "Isaiah",username = "The G",password = "<PASSWORD>",email = "<EMAIL>")
        self.new_post = Post(post_title = "Sample Title",post_content = "Hallo Welt! Ich bin hier",user_id = self.user_Collins.id)
        self.new_comment = Comment(comment = "Nice job",post_id = self.new_post.id,user_id = self.user_Collins.id)

    def test_instance(self):
        self.assertTrue(isinstance(self.user_Mark, User))
        self.assertTrue(isinstance(self.new_post, Post))
        self.assertTrue(isinstance(self.new_comment, Comment))