'\'default="something"\' should not be used if object attribute is present in input.'

def test_default_not_used_when_in_object(self):

    instance = MockObject(has_default=u'def', has_default_callable=u'ghi', no_default=u'abc')
    serializer = self.Serializer(instance)
    assert (serializer.data == {u'has_default': u'def', u'has_default_callable': u'ghi', u'no_default': u'abc'})
