'Test a view only has args, kwargs, request, action_map
once `as_view` has been called.'

def test_args_kwargs_request_action_map_on_self(self):

    bare_view = InstanceViewSet()
    view = InstanceViewSet.as_view(actions={'get': 'dummy'})(factory.get('/')).data['view']
    for attribute in ('args', 'kwargs', 'request', 'action_map'):
        self.assertNotIn(attribute, dir(bare_view))
        self.assertIn(attribute, dir(view))
