From 09ecc5c8acb758e8def33155feb746a34dd7b560 Mon Sep 17 00:00:00 2001 From: Annie Tallund Date: Wed, 14 Dec 2022 15:55:19 +0100 Subject: 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 --- tests/test_target_ethos_u_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_target_ethos_u_config.py') 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") -- cgit v1.2.1