From eb7f25b5667e6d85806a8383beed4eb3bf884686 Mon Sep 17 00:00:00 2001 From: Aditya Mohan <54040096+TraXIcoN@users.noreply.github.com> Date: Sun, 3 Nov 2024 23:52:15 -0500 Subject: [PATCH] Add Unit Tests for shared_utils.py (#309) * Added test cases for shared_utils Signed-off-by: Aditya Mohan * Added definition for logging an error shared_utils.py Signed-off-by: Jay Dev Jha * Pre-commit fixes for shared_utils.py Signed-off-by: Jay Dev Jha * pyright fixes for test.py Signed-off-by: Jay Dev Jha * Minor changes to shared_utils.py Signed-off-by: Jay Dev Jha * Updated test.py Signed-off-by: Jay Dev Jha --------- Signed-off-by: Aditya Mohan Signed-off-by: Jay Dev Jha Co-authored-by: Jay Dev Jha --- test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test.py b/test.py index e8579b9f..9c9bfab5 100644 --- a/test.py +++ b/test.py @@ -4,6 +4,7 @@ import unittest from unittest.mock import Mock, patch +<<<<<<< HEAD from shared_utils import ( InstrDict, check_arg_lut, @@ -23,6 +24,9 @@ update_encoding_for_fixed_range, validate_bit_range, ) +======= +from shared_utils import * +>>>>>>> f8f8dc6 (Add Unit Tests for shared_utils.py (#309)) class EncodingUtilsTest(unittest.TestCase):