drf_braces.tests.test_mixins module

class drf_braces.tests.test_mixins.TestMapDataViewMixin(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_get_data_attribute_mapper(**keywargs)[source]
test_get_data_no_mapper()[source]
test_get_data_provided(**keywargs)[source]
class drf_braces.tests.test_mixins.TestMultipleSerializersViewMixin(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_get_serializer(**keywargs)[source]
test_get_serializer_with_class(**keywargs)[source]
class drf_braces.tests.test_mixins.TestStrippingJSONViewMixin(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_get_parser_context()[source]