aboutsummaryrefslogtreecommitdiff
path: root/tests/test_target_ethos_u_performance.py
blob: 3042265f0416cee669e2f36f35e513ebf0644cec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# SPDX-FileCopyrightText: Copyright 2022-2024, Arm Limited and/or its affiliates.
# SPDX-License-Identifier: Apache-2.0
"""Performance estimation tests."""
from unittest.mock import MagicMock

import pytest


def mock_performance_estimation(monkeypatch: pytest.MonkeyPatch) -> None:
    """Mock performance estimation."""
    monkeypatch.setattr(
        "mlia.backend.corstone.performance.estimate_performance",
        MagicMock(return_value=MagicMock()),
    )