Skip to content

Instantly share code, notes, and snippets.

@kevin-brown
Created July 1, 2015 14:17
Show Gist options
  • Save kevin-brown/ecac9654e8296c107eb8 to your computer and use it in GitHub Desktop.
Save kevin-brown/ecac9654e8296c107eb8 to your computer and use it in GitHub Desktop.
(RestFramework) T:\django-rest-framework [master]> python runtests.py
============================= test session starts =============================
platform win32 -- Python 3.4.3 -- py-1.4.30 -- pytest-2.6.4
plugins: django
collected 694 items
tests/test_atomic_requests.py ....
tests/test_authentication.py .......................
tests/test_bound_fields.py ....
tests/test_decorators.py ..........
tests/test_description.py ......
tests/test_fields.py ........................................................................................................................................................................
tests/test_filters.py ssssssss.....s.........
tests/test_generics.py .......................
tests/test_htmlrenderer.py .....
tests/test_metadata.py .........
tests/test_middleware.py .
tests/test_model_serializer.py ............................
tests/test_multitable_inheritance.py ...
tests/test_negotiation.py ...
tests/test_pagination.py .........................
tests/test_parsers.py ......
tests/test_permissions.py ............ssssssssss....
tests/test_relations.py .......................
tests/test_relations_generic.py ..
tests/test_relations_hyperlink.py .....................
tests/test_relations_pk.py .........................
tests/test_relations_slug.py ...............
tests/test_renderers.py ...............................
tests/test_request.py .....................
tests/test_response.py .................
tests/test_reverse.py ...
tests/test_routers.py ................
tests/test_serializer.py ....................
tests/test_serializer_bulk_update.py .....
tests/test_serializer_lists.py .............
tests/test_serializer_nested.py ..
tests/test_settings.py .
tests/test_status.py .
tests/test_templatetags.py ...
tests/test_testing.py ..............
tests/test_throttling.py ...............
tests/test_urlpatterns.py ....
tests/test_utils.py ............
tests/test_validation.py .........F
tests/test_validators.py .................FF
tests/test_versioning.py ....................
tests/test_views.py ......
tests/test_viewsets.py ..
tests/browsable_api/test_browsable_api.py ......
================================== FAILURES ===================================
_____________________ TestRegexSerializer.test_regex_repr _____________________
tests\test_validation.py:186: in test_regex_repr
assert serializer_repr == expected_repr
E AssertionError: assert 'RegexSeriali...0x0463CCF0>])' == 'RegexSerializ...tor object>])'
E Skipping 86 identical leading characters in diff, use -v to show
E - tor object at 0x0463CCF0>])
E + tor object>])
__ TestHiddenFieldUniquenessForDateValidation.test_repr_date_field_included ___
tests\test_validators.py:349: in test_repr_date_field_included
assert repr(serializer) == expected
E AssertionError: assert "TestSerializ...published')>]" == "TestSerialize...published')>]"
E Skipping 164 identical leading characters in diff, use -v to show
E - nction now at 0x033AE738>), read_only=True)
E ? --------------
E + nction now>), read_only=True)
E class Meta:
E validators = [<UniqueForDateValidator(queryset=HiddenFieldUniqueForDateModel.objects.all(), field='slug', date_field='published')>]
TestHiddenFieldUniquenessForDateValidation.test_repr_date_field_not_included _
tests\test_validators.py:332: in test_repr_date_field_not_inluded
assert repr(serializer) == expected
E AssertionError: assert "TestSerializ...published')>]" == "TestSerialize...published')>]"
E Skipping 162 identical leading characters in diff, use -v to show
E - nction now at 0x033AE738>))
E + nction now>))
E class Meta:
E validators = [<UniqueForDateValidator(queryset=HiddenFieldUniqueForDateModel.objects.all(), field='slug', date_field='published')>]
======== 3 failed, 672 passed, 19 skipped, 1 warnings in 7.05 seconds =========
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment