aboutsummaryrefslogtreecommitdiff
path: root/python/pyarmnn/examples/common/tests/test_utils.py
diff options
context:
space:
mode:
authoralexander <alexander.efremov@arm.com>2021-07-16 11:30:56 +0100
committerJim Flynn <jim.flynn@arm.com>2022-02-04 09:55:21 +0000
commitf42f56870c6201a876f025a423eb5540d7438e83 (patch)
treee8e57e371c851cbb9a51a2f3ec35059addd2e93e /python/pyarmnn/examples/common/tests/test_utils.py
parent9d74ba6e85a043e9603445e062315f5c4965fbd6 (diff)
downloadarmnn-f42f56870c6201a876f025a423eb5540d7438e83.tar.gz
MLECO-2079 Adding the python KWS example
Signed-off-by: Eanna O Cathain <eanna.ocathain@arm.com> Change-Id: Ie1463aaeb5e3cade22df8f560ae99a8e1c4a9c17
Diffstat (limited to 'python/pyarmnn/examples/common/tests/test_utils.py')
-rw-r--r--python/pyarmnn/examples/common/tests/test_utils.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/python/pyarmnn/examples/common/tests/test_utils.py b/python/pyarmnn/examples/common/tests/test_utils.py
deleted file mode 100644
index 28d68ea235..0000000000
--- a/python/pyarmnn/examples/common/tests/test_utils.py
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
-# SPDX-License-Identifier: MIT
-
-import os
-
-from context import cv_utils
-from context import utils
-
-
-def test_get_source_encoding(test_data_folder):
- video_file = os.path.join(test_data_folder, "Megamind.avi")
- video, video_writer, frame_count = cv_utils.init_video_file_capture(video_file, "/tmp")
- assert cv_utils.get_source_encoding_int(video) == 1145656920
-
-
-def test_read_existing_labels_file(test_data_folder):
- label_file = os.path.join(test_data_folder, "labelmap.txt")
- labels_map = utils.dict_labels(label_file)
- assert labels_map is not None