'Verify the correct fields are serialized.'

def test_data(self):

    provider = CreditProviderFactory(active=False)
    serializer = serializers.CreditProviderSerializer(provider)
    expected = {u'id': provider.provider_id, u'display_name': provider.display_name, u'url': provider.provider_url, u'status_url': provider.provider_status_url, u'description': provider.provider_description, u'enable_integration': provider.enable_integration, u'fulfillment_instructions': provider.fulfillment_instructions, u'thumbnail_url': provider.thumbnail_url}
    self.assertDictEqual(serializer.data, expected)
