1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-09-06 20:11:53 +01:00

tests/test_target: Read target connection settings from a YAML file

This will be useful in automating CI tests without modifying the source
code.

Replace unittest with pytest in order to make parameter passing to test
functions easier.

Move target configuration reading and generating target object outside
of the test function. Because we will run the test function for new
targets and may want to add new test functions.

While we are here, also fix pylint issues.

Signed-off-by: Metin Kaya <metin.kaya@arm.com>
This commit is contained in:
Metin Kaya
2024-02-05 08:36:19 +00:00
committed by Marc Bonnici
parent b5715b6560
commit a1718c3700
3 changed files with 54 additions and 20 deletions

View File

@@ -102,6 +102,7 @@ params = dict(
'wrapt', # Basic for construction of decorator functions
'numpy',
'pandas',
'pytest',
'lxml', # More robust xml parsing
'nest_asyncio', # Allows running nested asyncio loops
'future', # for the "past" Python package