              {'name': u'source-1', 'target': None},
              {'name': u'source-2', 'target': 'target-1'},
              {'name': u'source-3', 'target': None},
          ]
          serializer = NullOKSluggedNullableForeignKeySourceSerializer(queryset)
          self.assertEquals(serializer.data, expected)
          serializer = NotRequiredSluggedNullableForeignKeySourceSerializer(queryset)
          self.assertEquals(serializer.data, expected)
  
 
</s>
              {'name': u'source-1', 'target': None},
              {'name': u'source-2', 'target': 'target-1'},
              {'name': u'source-3', 'target': None},
          ]

          self.assertEquals(serializer.data, expected)
          serializer = NotRequiredSluggedNullableForeignKeySourceSerializer(queryset)
          self.assertEquals(serializer.data, expected)
  
keep keep keep keep replace keep keep keep keep
 Drop bits of relations_slug tests which don't mirror existing tests.
rest_framework/tests/relations_slug.py