Skip to content

ModelSerializer test failure against Django master #3428

@carltongibson

Description

@carltongibson

See build failure here

_________________ TestRegularFieldMappings.test_regular_fields _________________
tests/test_model_serializer.py:168: in test_regular_fields
    self.assertEqual(unicode_repr(TestSerializer()), expected)
E   AssertionError: "Test[446 chars]its=3, validators=[<django.core.validators.Dec[616 chars]ld>)" != "Test[446 chars]its=3)\n    email_field = EmailField(max_lengt[553 chars]ld>)"
E   Diff is 1206 characters long. Set self.maxDiff to None to see it.

@tomchristie:

The failure there should be easy enough to resolve - something on ModelSerializer is being mapped slightly diff between versions. Would be good to fully see the diff between the actual repr() and the expected repr() — #3427 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy