def test_head_no_get(self):
        response = PostOnlyView.as_view()(self.rf.head('/'))
        self.assertEqual(response.status_code, 405)
str,str->None
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/tests/regressiontests/generic_views/base.py/ViewTest.test_head_no_get--crossover with--dataset/ETHPy150Open cnbeining/Biligrab/biligrab.py/convert_ass_py3