aboutsummaryrefslogtreecommitdiff
path: root/tests/test_target_cortex_a_reporters.py
diff options
context:
space:
mode:
authorBenjamin Klimczak <benjamin.klimczak@arm.com>2023-01-11 12:32:02 +0000
committerBenjamin Klimczak <benjamin.klimczak@arm.com>2023-02-08 15:23:29 +0000
commita4fb8c72f15146c95df16c25e75f03344e9814fd (patch)
treece6d9cf39951a0c85d2773d436cc5010ecf78a8f /tests/test_target_cortex_a_reporters.py
parent09ecc5c8acb758e8def33155feb746a34dd7b560 (diff)
downloadmlia-a4fb8c72f15146c95df16c25e75f03344e9814fd.tar.gz
MLIA-591 Create interface for target profiles
New class 'TargetProfile' is used to load and verify target profiles. Change-Id: I76373a923e2e5f55c4e95860635afe9fc5627a5d
Diffstat (limited to 'tests/test_target_cortex_a_reporters.py')
-rw-r--r--tests/test_target_cortex_a_reporters.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_target_cortex_a_reporters.py b/tests/test_target_cortex_a_reporters.py
index 4b39aa1..c32ef7b 100644
--- a/tests/test_target_cortex_a_reporters.py
+++ b/tests/test_target_cortex_a_reporters.py
@@ -1,4 +1,4 @@
-# SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates.
+# SPDX-FileCopyrightText: Copyright 2022-2023, Arm Limited and/or its affiliates.
# SPDX-License-Identifier: Apache-2.0
"""Tests for Cortex-A reporters."""
from typing import Any
@@ -18,7 +18,7 @@ from mlia.target.cortex_a.reporters import report_device
def test_report_device() -> None:
"""Test function report_device()."""
- report = report_device(CortexAConfiguration("cortex-a"))
+ report = report_device(CortexAConfiguration.load_profile("cortex-a"))
assert report.to_plain_text()