<reponame>Mzazi25/blogposts
import unittest
from  app .models import Blog

class BlogModelTest(unittest.TestCase):
    '''
    Test Class to test the behavior of the Blog Model
    '''
    def setUp(self):
        '''
        setup method that runs before every test
        '''
        self.new_blog = Blog(Blog= 'checki man')
    def test_blog(self):
        self.assertTrue(self.test_blog is not None)
import unittest
from  app .models import Blog

class BlogModelTest(unittest.TestCase):
    '''
    Test Class to test the behavior of the Blog Model
    '''
    def setUp(self):
        '''
        setup method that runs before every test
        '''
        self.new_blog = Blog(Blog= 'checki man')
    def test_blog(self):
        self.assertTrue(self.test_blog is not None)
Test Class to test the behavior of the Blog Model setup method that runs before every test