Module ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Dict Str Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Dict Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Dict Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Dict Str Dict Str Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Dict Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Dict Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Dict Str AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Dict Str Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Dict Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Str TupleLoad Str Str Str Assign NameStore Call NameLoad keyword Str keyword Str keyword Num Assign NameStore Call NameLoad NameLoad keyword Dict Str NameLoad Return Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad Call NameLoad attr Str Dict Str NameLoad Expr Call NameLoad NameLoad Call NameLoad Assign NameStore Call Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A __future__ unicode_literals N/A unittest collections namedtuple rest_framework serializers rest_framework.response Response rest_framework.test APIRequestFactory APISimpleTestCase force_authenticate rest_framework.views APIView nodeconductor.core.fields JsonField nodeconductor.core.fields TimestampField nodeconductor.core.serializers Base64Field RestrictedSerializerMixin nodeconductor.core utils Base64Serializer N/A N/A serializers Serializer N/A N/A content N/A Base64Field N/A Base64FieldTest N/A N/A unittest TestCase N/A test_text_gets_base64_encoded_on_serialization N/A N/A self N/A N/A N/A serializer N/A Base64Serializer instance N/A content hello N/A actual N/A N/A serializer data N/A content N/A N/A N/A self assertEqual aGVsbG8= actual N/A test_text_remains_base64_encoded_on_deserialization N/A N/A self N/A N/A N/A serializer N/A Base64Serializer data N/A content Zm9vYmFy N/A N/A N/A self assertTrue N/A N/A serializer is_valid N/A actual N/A N/A serializer validated_data N/A content N/A N/A N/A self assertEqual Zm9vYmFy actual N/A test_deserialization_fails_validation_on_incorrect_base64 N/A N/A self N/A N/A N/A serializer N/A Base64Serializer data N/A content ***NOT-BASE-64*** N/A N/A N/A self assertFalse N/A N/A serializer is_valid N/A N/A N/A self assertIn content N/A serializer errors There should be errors for content field N/A N/A N/A self assertIn This field should a be valid Base64 encoded string. N/A N/A serializer errors N/A content N/A N/A JsonSerializer N/A N/A serializers Serializer N/A N/A content N/A JsonField N/A JsonFieldTest N/A N/A unittest TestCase N/A test_dict_gets_parsed_as_dict_on_serialization N/A N/A self N/A N/A N/A serializer N/A JsonSerializer instance N/A content N/A key value N/A actual N/A N/A serializer data N/A content N/A N/A N/A self assertEqual N/A key value actual N/A test_text_gets_json_parsed_on_deserialization N/A N/A self N/A N/A N/A serializer N/A JsonSerializer data N/A content {"key": "value"} N/A N/A N/A self assertTrue N/A N/A serializer is_valid N/A actual N/A N/A serializer validated_data N/A content N/A N/A N/A self assertEqual N/A key value actual N/A test_deserialization_fails_validation_on_incorrect_json N/A N/A self N/A N/A N/A serializer N/A JsonSerializer data N/A content ***NOT-JSON*** N/A N/A N/A self assertFalse N/A N/A serializer is_valid N/A N/A N/A self assertIn content N/A serializer errors There should be errors for content field N/A N/A N/A self assertIn This field should a be valid JSON string. N/A N/A serializer errors N/A content N/A N/A TimestampSerializer N/A N/A serializers Serializer N/A N/A content N/A TimestampField N/A TimestampFieldTest N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self datetime N/A N/A utils timeshift days -1 N/A N/A self timestamp N/A N/A utils datetime_to_timestamp N/A self datetime N/A test_datetime_serialized_as_timestamp N/A N/A self N/A N/A N/A serializer N/A TimestampSerializer instance N/A content N/A self datetime N/A actual N/A N/A serializer data N/A content N/A N/A N/A self assertEqual N/A self timestamp actual N/A test_timestamp_parsed_as_datetime N/A N/A self N/A N/A N/A serializer N/A TimestampSerializer data N/A content N/A str N/A self timestamp N/A N/A N/A self assertTrue N/A N/A serializer is_valid N/A actual N/A N/A serializer validated_data N/A content N/A N/A N/A self assertEqual N/A self datetime actual N/A test_incorrect_timestamp N/A N/A self N/A N/A N/A serializer N/A TimestampSerializer data N/A content NOT_A_UNIX_TIMESTAMP N/A N/A N/A self assertFalse N/A N/A serializer is_valid N/A N/A N/A self assertIn content N/A serializer errors There should be errors for content field N/A N/A N/A self assertIn Value "NOT_A_UNIX_TIMESTAMP" should be valid UNIX timestamp. N/A N/A serializer errors N/A content N/A N/A RestrictedSerializer N/A RestrictedSerializerMixin N/A serializers Serializer N/A N/A name N/A N/A serializers ReadOnlyField N/A url N/A N/A serializers ReadOnlyField N/A id N/A N/A serializers ReadOnlyField N/A RestrictedSerializerView N/A APIView N/A get N/A N/A self request N/A N/A N/A User N/A namedtuple User N/A name url id N/A user N/A User name Walter url http://example.com/Walter id 1 N/A serializer N/A RestrictedSerializer user context N/A request request N/A N/A Response N/A serializer data N/A N/A RestrictedSerializerTest N/A APISimpleTestCase N/A test_serializer_returns_fields_required_in_request N/A N/A self N/A N/A N/A fields N/A name url N/A response N/A N/A self make_request fields N/A N/A N/A self assertEqual fields N/A N/A N/A response data keys N/A make_request N/A N/A self fields N/A N/A nodeconductor.structure.tests.factories UserFactory N/A request N/A N/A N/A APIRequestFactory get / N/A field fields N/A N/A force_authenticate request N/A UserFactory N/A response N/A N/A N/A RestrictedSerializerView as_view request N/A response N/A N/A