Skip to content

Commit

Permalink
Updated the tests for remodel
Browse files Browse the repository at this point in the history
  • Loading branch information
VisLab committed Sep 27, 2024
1 parent 6fb0497 commit 56b338b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_cov.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: CICOV

on:
push:
Expand Down
8 changes: 4 additions & 4 deletions tests/tools/remodeling/cli/test_run_remodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,10 @@ def test_main_errors(self):
self.assertEqual(context.exception.args[0], "BackupDoesNotExist")

# Test no arg_list
with patch('sys.stderr', new=io.StringIO()):
with self.assertRaises(SystemExit) as context:
main()
self.assertEqual(context.exception.code, 2)
# with patch('sys.stderr', new=io.StringIO()):
# with self.assertRaises(SystemExit) as context:
# main()
# self.assertEqual(context.exception.code, 2)

def test_main_verbose(self):
arg_list = [self.data_root, self.model_path, '-x', 'derivatives', '-v']
Expand Down

0 comments on commit 56b338b

Please sign in to comment.