def test_no_need_admin(self):
        access = IMutableAccessBackend(None)
        with patch.object(access, 'user_data') as user_data:
            user_data.return_value = [{'admin': False}, {'admin': True}]
            self.assertFalse(access.need_admin())
need_admin is False if 1+ admins
dataset/ETHPy150Open mathcamp/pypicloud/tests/test_access_backends.py/TestBaseBackend.test_no_need_admin