text: from django.test import TestCase
  
  from .models import Todo
  
  
  class TodoModelTest(TestCase):
  
      @classmethod
      def setUpTestData(cls):
          Todo.objects.create(title='First todo', body='a body here')
  
      def test_title_content(self):
          todo = Todo.objects.get(id=1)
          expected_object_name = f'{todo.title}'
          self.assertEqual(expected_object_name, 'First todo')
  
      def test_body_content(self):
          todo = Todo.objects.get(id=1)
          expected_object_name = f'{todo.body}'
          self.assertEqual(expected_object_name, 'a body here')
  