def test_get_and_post(self):
        self._assert_simple(SimplePostView.as_view()(self.rf.get('/')))
        self._assert_simple(SimplePostView.as_view()(self.rf.post('/')))
        self.assertEqual(SimplePostView.as_view()(
            self.rf.get('/', REQUEST_METHOD='FAKE')
        ).status_code, 405)
Returns a dictionary with all the properties and values in an entity.
dataset/ETHPy150Open django/django/tests/generic_views/test_base.py/ViewTest.test_get_and_post--crossover with--dataset/ETHPy150Open moraes/tipfy/tipfy/appengine/db/__init__.py/get_entity_dict