def test_foreign_key_with_empty(self):
        serializer = NullableForeignKeySourceSerializer()
        self.assertEqual(serializer.data['target'], None)
Testing /contacts/contact/delete/<contact_id>/
dataset/ETHPy150Open tomchristie/django-rest-framework/tests/test_relations_pk.py/PKForeignKeyTests.test_foreign_key_with_empty--crossover with--dataset/ETHPy150Open treeio/treeio/treeio/identities/tests.py/IdentitiesViewsTest.test_contact_delete_out