Skip to content

Commit

Permalink
Uncommented tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesouza committed Mar 4, 2024
1 parent 5f9de2c commit d884f74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions osaca/semantics/hw_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ def __init__(self, arch=None, path_to_yaml=None, isa=None, lazy=False):
if self._path in MachineModel._runtime_cache and not lazy:
self._data = MachineModel._runtime_cache[self._path]
# check if file is cached
# cached = self._get_cached(self._path) if not lazy else False
if False:
cached = self._get_cached(self._path) if not lazy else False
if cached:
self._data = cached
else:
yaml = self._create_yaml_object()
Expand Down
4 changes: 2 additions & 2 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def test_import_data(self):
]
)
osaca.run(args, output_file=output)
'''

def test_check_db(self):
parser = osaca.create_parser(parser=ErrorRaisingArgumentParser())
args = parser.parse_args(
Expand Down Expand Up @@ -277,7 +277,7 @@ def test_lines_arg(self):
output = StringIO()
osaca.run(a, output_file=output)
self.assertEqual(output.getvalue().split("\n")[8:], output_base)
'''

##################
# Helper functions
##################
Expand Down

0 comments on commit d884f74

Please sign in to comment.