          instance = ManyToManyTarget.objects.get(pk=1)
          serializer = ManyToManyTargetSerializer(instance, data=data, context={'request': request})
          self.assertTrue(serializer.is_valid())
          serializer.save()
          self.assertEqual(serializer.data, data)
  
          # Ensure target 1 is updated, and everything else is as expected
          queryset = ManyToManyTarget.objects.all()
          serializer = ManyToManyTargetSerializer(queryset, many=True, context={'request': request})
          expected = [
              {'url': 'http://testserver/manytomanytarget/1/', 'name': 'target-1', 'sources': ['http://testserver/manytomanysource/1/']},
 
</s> remove         self.assertTrue(serializer.is_valid())
 </s> add         assert serializer.is_valid() </s> remove         self.assertEqual(serializer.data, data)
        self.assertEqual(obj.name, 'target-4')
 </s> add         assert serializer.data == data
        assert obj.name == 'target-4' </s> remove         self.assertEqual(serializer.data, data)
 </s> add         assert serializer.data == data </s> remove         self.assertEqual(serializer.data, data)
 </s> add         assert serializer.data == data </s> remove         self.assertEqual(serializer.data, data)
 </s> add         assert serializer.data == data
        assert serializer.data == data
          instance = ManyToManyTarget.objects.get(pk=1)
          serializer = ManyToManyTargetSerializer(instance, data=data, context={'request': request})
          self.assertTrue(serializer.is_valid())
          serializer.save()
        assert serializer.data == data
        assert serializer.data == data
          # Ensure target 1 is updated, and everything else is as expected
          queryset = ManyToManyTarget.objects.all()
          serializer = ManyToManyTargetSerializer(queryset, many=True, context={'request': request})
          expected = [
              {'url': 'http://testserver/manytomanytarget/1/', 'name': 'target-1', 'sources': ['http://testserver/manytomanysource/1/']},
keep keep keep keep replace replace keep keep keep keep keep
 converted test asserts of hyperlin relations to pytest 
tests/test_relations_hyperlink.py