def test_direct_instantiation(self):
        view = PostOnlyView()
        response = view.dispatch(self.rf.head('/'))
        self.assertEqual(response.status_code, 405)
storage_expr : NAME NAME COLON NAME operator_expr
dataset/ETHPy150Open django/django/tests/generic_views/test_base.py/ViewTest.test_direct_instantiation--crossover with--dataset/ETHPy150Open nucleic/enaml/enaml/core/parser.py/p_storage_expr4