diff options
author | Benjamin Klimczak <benjamin.klimczak@arm.com> | 2022-06-28 10:29:35 +0100 |
---|---|---|
committer | Benjamin Klimczak <benjamin.klimczak@arm.com> | 2022-07-08 10:57:19 +0100 |
commit | c9b4089b3037b5943565d76242d3016b8776f8d2 (patch) | |
tree | 3de24f79dedf0f26f492a7fa1562bf684e13a055 /tests/mlia/test_cli_logging.py | |
parent | ba2c7fcccf37e8c81946f0776714c64f73191787 (diff) | |
download | mlia-c9b4089b3037b5943565d76242d3016b8776f8d2.tar.gz |
MLIA-546 Merge AIET into MLIA
Merge the deprecated AIET interface for backend execution into MLIA:
- Execute backends directly (without subprocess and the aiet CLI)
- Fix issues with the unit tests
- Remove src/aiet and tests/aiet
- Re-factor code to replace 'aiet' with 'backend'
- Adapt and improve unit tests after re-factoring
- Remove dependencies that are not needed anymore (click and cloup)
Change-Id: I450734c6a3f705ba9afde41862b29e797e511f7c
Diffstat (limited to 'tests/mlia/test_cli_logging.py')
-rw-r--r-- | tests/mlia/test_cli_logging.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/mlia/test_cli_logging.py b/tests/mlia/test_cli_logging.py index 7c5f299..3f59cb6 100644 --- a/tests/mlia/test_cli_logging.py +++ b/tests/mlia/test_cli_logging.py @@ -32,7 +32,7 @@ def teardown_function() -> None: ( None, True, - """mlia.tools.aiet_wrapper - aiet debug + """mlia.backend.manager - backends debug cli info mlia.cli - cli debug """, @@ -41,11 +41,11 @@ mlia.cli - cli debug ( "logs", True, - """mlia.tools.aiet_wrapper - aiet debug + """mlia.backend.manager - backends debug cli info mlia.cli - cli debug """, - """mlia.tools.aiet_wrapper - DEBUG - aiet debug + """mlia.backend.manager - DEBUG - backends debug mlia.cli - DEBUG - cli debug """, ), @@ -64,8 +64,8 @@ def test_setup_logging( setup_logging(logs_dir_path, verbose) - aiet_logger = logging.getLogger("mlia.tools.aiet_wrapper") - aiet_logger.debug("aiet debug") + backend_logger = logging.getLogger("mlia.backend.manager") + backend_logger.debug("backends debug") cli_logger = logging.getLogger("mlia.cli") cli_logger.info("cli info") |