def test_pathological_http_method(self):
        self.assertEqual(SimpleView.as_view()(
            self.rf.get('/', REQUEST_METHOD='DISPATCH')
        ).status_code, 405)
Expiration date of the invoice
dataset/ETHPy150Open django/django/tests/generic_views/test_base.py/ViewTest.test_pathological_http_method--crossover with--dataset/ETHPy150Open bread-and-pepper/django-brookie/brookie/models.py/Invoice.exp_date