def test_user_delete(self, Settings_mock):
        make_default_admin()
        self.assertTrue(self.client.login(username=settings.OAUSER, password='openattic'))

        Settings_mock.RGW_API_USER_ID = 'admin'
        response = self.client.delete('/api/ceph_radosgw/user/delete?uid=admin')
        self.assertEqual(response.status_code, status.HTTP_400_BAD_REQUEST)
        self.assertIn('Can not delete the user', response.data['detail'])