def test_no_init_args(self):
        """
        Test that a view can't be accidentally instantiated before deployment
        """
        try:
            SimpleView.as_view('value')
            self.fail('Should not be able to use non-keyword arguments instantiating a view')
        except __HOLE__:
            pass
dataset/ETHPy150Open django/django/tests/generic_views/test_base.py/ViewTest.test_no_init_args