Skip to content

Commit

Permalink
Add Unit Tests for shared_utils.py (riscv#309)
Browse files Browse the repository at this point in the history
* Added test cases for shared_utils

Signed-off-by: Aditya Mohan <[email protected]>

* Added definition for logging an error shared_utils.py

Signed-off-by: Jay Dev Jha <[email protected]>

* Pre-commit fixes for shared_utils.py

Signed-off-by: Jay Dev Jha <[email protected]>

* pyright fixes for test.py

Signed-off-by: Jay Dev Jha <[email protected]>

* Minor changes to shared_utils.py

Signed-off-by: Jay Dev Jha <[email protected]>

* Updated test.py

Signed-off-by: Jay Dev Jha <[email protected]>

---------

Signed-off-by: Aditya Mohan <[email protected]>
Signed-off-by: Jay Dev Jha <[email protected]>
Co-authored-by: Jay Dev Jha <[email protected]>
  • Loading branch information
2 people authored and Myrausman committed Nov 14, 2024
1 parent cb74b74 commit eb7f25b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import unittest
from unittest.mock import Mock, patch

<<<<<<< HEAD
from shared_utils import (
InstrDict,
check_arg_lut,
Expand All @@ -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):
Expand Down

0 comments on commit eb7f25b

Please sign in to comment.