              {'url': 'http://testserver/nullableforeignkeysource/2/', 'name': 'source-2', 'target': 'http://testserver/foreignkeytarget/1/'},
              {'url': 'http://testserver/nullableforeignkeysource/3/', 'name': 'source-3', 'target': None},
              {'url': 'http://testserver/nullableforeignkeysource/4/', 'name': 'source-4', 'target': None}
          ]
          self.assertEqual(serializer.data, expected)
  
      def test_foreign_key_create_with_valid_emptystring(self):
          """
          The emptystring should be interpreted as null in the context
          of relationships.
 
</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.assertTrue(serializer.is_valid())
 </s> add         assert serializer.is_valid()
        assert serializer.data == expected
              {'url': 'http://testserver/nullableforeignkeysource/2/', 'name': 'source-2', 'target': 'http://testserver/foreignkeytarget/1/'},
              {'url': 'http://testserver/nullableforeignkeysource/3/', 'name': 'source-3', 'target': None},
              {'url': 'http://testserver/nullableforeignkeysource/4/', 'name': 'source-4', 'target': None}
          ]
        assert serializer.data == expected
  
      def test_foreign_key_create_with_valid_emptystring(self):
          """
          The emptystring should be interpreted as null in the context
          of relationships.
keep keep keep keep replace keep keep keep keep keep
 converted test asserts of hyperlin relations to pytest 
tests/test_relations_hyperlink.py