'Test that a view can\'t be accidentally instantiated before deployment'

def test_no_init_kwargs(self):

    try:
        view = SimpleView(key='value').as_view()
        self.fail('Should    not    be    able    to    instantiate    a    view')
    except AttributeError:
        pass
