              {'url': 'http://testserver/foreignkeysource/2/', 'name': 'source-2', 'target': 'http://testserver/foreignkeytarget/1/'},
              {'url': 'http://testserver/foreignkeysource/3/', 'name': 'source-3', 'target': 'http://testserver/foreignkeytarget/1/'}
          ]
          with self.assertNumQueries(1):
              self.assertEqual(serializer.data, expected)
  
      def test_reverse_foreign_key_retrieve(self):
          queryset = ForeignKeyTarget.objects.all()
          serializer = ForeignKeyTargetSerializer(queryset, many=True, context={'request': request})
          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 </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/foreignkeysource/2/', 'name': 'source-2', 'target': 'http://testserver/foreignkeytarget/1/'},
              {'url': 'http://testserver/foreignkeysource/3/', 'name': 'source-3', 'target': 'http://testserver/foreignkeytarget/1/'}
          ]
          with self.assertNumQueries(1):
            assert serializer.data == expected
  
      def test_reverse_foreign_key_retrieve(self):
          queryset = ForeignKeyTarget.objects.all()
          serializer = ForeignKeyTargetSerializer(queryset, many=True, context={'request': request})
          expected = [
keep keep keep keep replace keep keep keep keep keep
 converted test asserts of hyperlin relations to pytest 
tests/test_relations_hyperlink.py