text: from bgp.models import Relationship
  from utils.enums import Color
  from utils.testing import ViewTestCases
  
  
  class RelationshipTestCase(ViewTestCases.PrimaryObjectViewTestCase):
      model = Relationship
  
      @classmethod
      def setUpTestData(cls):
          Relationship.objects.bulk_create(
              [
                  Relationship(name="Test1", slug="test1", color=Color.YELLOW),
                  Relationship(name="Test2", slug="test2", color=Color.WHITE),
                  Relationship(name="Test3", slug="test3", color=Color.BLACK),
              ]
          )
  
          cls.form_data = {"name": "Test4", "slug": "test4", "color": Color.RED}
          cls.bulk_edit_data = {"description": "Foo"}
  