aboutsummaryrefslogtreecommitdiff
path: root/tests/test_target_ethos_u_config.py
diff options
context:
space:
mode:
authorAnnie Tallund <annie.tallund@arm.com>2022-12-14 15:55:19 +0100
committerBenjamin Klimczak <benjamin.klimczak@arm.com>2023-02-08 15:17:12 +0000
commit09ecc5c8acb758e8def33155feb746a34dd7b560 (patch)
tree65c39a7f7929b745b9c5a31ab48bb4c6e97cb3ea /tests/test_target_ethos_u_config.py
parent6fbcffb4ee039438a409fbc92e38fa5d1d118833 (diff)
downloadmlia-09ecc5c8acb758e8def33155feb746a34dd7b560.tar.gz
MLIA-590 Support path to custom target profiles
- Start using TOML format for target profile - Add support for loading custom target profile files Change-Id: I6be019d4341e93115440ccdbdb6dafdc1c85b966
Diffstat (limited to 'tests/test_target_ethos_u_config.py')
-rw-r--r--tests/test_target_ethos_u_config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_target_ethos_u_config.py b/tests/test_target_ethos_u_config.py
index 3160190..08a20ff 100644
--- a/tests/test_target_ethos_u_config.py
+++ b/tests/test_target_ethos_u_config.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 config module."""
from __future__ import annotations
@@ -45,7 +45,7 @@ def test_get_target() -> None:
with pytest.raises(Exception, match="No target profile given"):
get_target(None) # type: ignore
- with pytest.raises(Exception, match="Unable to find target profile unknown"):
+ with pytest.raises(Exception, match=r"File not found:*"):
get_target("unknown")
u65_device = get_target("ethos-u65-512")