              {'url': 'http://testserver/manytomanytarget/2/', 'name': 'target-2', 'sources': ['http://testserver/manytomanysource/2/', 'http://testserver/manytomanysource/3/']},
              {'url': 'http://testserver/manytomanytarget/3/', 'name': 'target-3', 'sources': ['http://testserver/manytomanysource/3/']}
          ]
          with self.assertNumQueries(4):
              self.assertEqual(serializer.data, expected)
  
      def test_many_to_many_update(self):
          data = {'url': 'http://testserver/manytomanysource/1/', 'name': 'source-1', 'targets': ['http://testserver/manytomanytarget/1/', 'http://testserver/manytomanytarget/2/', 'http://testserver/manytomanytarget/3/']}
          instance = ManyToManySource.objects.get(pk=1)
          serializer = ManyToManySourceSerializer(instance, data=data, context={'request': request})
 
</s> remove         self.assertEqual(serializer.data, expected)
 </s> add         assert serializer.data == expected </s> remove         self.assertTrue(serializer.is_valid())
 </s> add         assert serializer.is_valid() </s> remove         self.assertEqual(serializer.data, expected)
 </s> add         assert serializer.data == expected </s> remove             self.assertEqual(serializer.data, expected)
 </s> add             assert serializer.data == expected </s> remove         self.assertEqual(serializer.data, expected)
 </s> add         assert serializer.data == expected
            assert serializer.data == expected
              {'url': 'http://testserver/manytomanytarget/2/', 'name': 'target-2', 'sources': ['http://testserver/manytomanysource/2/', 'http://testserver/manytomanysource/3/']},
              {'url': 'http://testserver/manytomanytarget/3/', 'name': 'target-3', 'sources': ['http://testserver/manytomanysource/3/']}
          ]
          with self.assertNumQueries(4):
            assert serializer.data == expected
  
      def test_many_to_many_update(self):
          data = {'url': 'http://testserver/manytomanysource/1/', 'name': 'source-1', 'targets': ['http://testserver/manytomanytarget/1/', 'http://testserver/manytomanytarget/2/', 'http://testserver/manytomanytarget/3/']}
          instance = ManyToManySource.objects.get(pk=1)
          serializer = ManyToManySourceSerializer(instance, data=data, context={'request': request})
keep keep keep keep replace keep keep keep keep keep
 converted test asserts of hyperlin relations to pytest 
tests/test_relations_hyperlink.py