def test_get_only(self):
        self._assert_simple(SimpleView.as_view()(self.rf.get('/')))
        self.assertEqual(SimpleView.as_view()(self.rf.post('/')).status_code, 405)
        self.assertEqual(SimpleView.as_view()(
            self.rf.get('/', REQUEST_METHOD='FAKE')
        ).status_code, 405)
Test if it returns a list of current MooseFS mounts
dataset/ETHPy150Open django/django/tests/generic_views/test_base.py/ViewTest.test_get_only--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/modules/moosefs_test.py/MoosefsTestCase.test_mounts