mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2026-01-04 18:20:09 +01:00
Uncommented tests
This commit is contained in:
@@ -73,8 +73,8 @@ class MachineModel(object):
|
||||
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()
|
||||
|
||||
@@ -66,7 +66,7 @@ class TestCLI(unittest.TestCase):
|
||||
]
|
||||
)
|
||||
osaca.run(args, output_file=output)
|
||||
'''
|
||||
|
||||
def test_check_db(self):
|
||||
parser = osaca.create_parser(parser=ErrorRaisingArgumentParser())
|
||||
args = parser.parse_args(
|
||||
@@ -277,7 +277,7 @@ class TestCLI(unittest.TestCase):
|
||||
output = StringIO()
|
||||
osaca.run(a, output_file=output)
|
||||
self.assertEqual(output.getvalue().split("\n")[8:], output_base)
|
||||
'''
|
||||
|
||||
##################
|
||||
# Helper functions
|
||||
##################
|
||||
|
||||
Reference in New Issue
Block a user