async def test_not_operator_false(self):
        """Test NOT operator with permission returning False"""
        perm = TestAsyncPermission(False)
        negated = ~perm

        assert await negated.has_permission_async(None, None) is True
Test NOT operator with permission returning False
tests/test_async_permissions.py