From f9aacd4087b02948da9a7878da48ea186ab99d5a Mon Sep 17 00:00:00 2001 From: Jason Chang Date: Thu, 3 Aug 2023 14:38:00 -0700 Subject: Raise repo exit errors in place of sys.exit Bug: b/293344017 Change-Id: I92d81c78eba8ff31b5252415f4c9a515a6c76411 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/381774 Tested-by: Jason Chang Reviewed-by: Joanna Wang Commit-Queue: Jason Chang --- tests/test_error.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/test_error.py') diff --git a/tests/test_error.py b/tests/test_error.py index 2733ab8c..2b28f5c2 100644 --- a/tests/test_error.py +++ b/tests/test_error.py @@ -21,12 +21,16 @@ import unittest import error import project import git_command +import fetch +import command from subcmds import all_modules imports = all_modules + [ error, project, git_command, + fetch, + command, ] -- cgit v1.2.3-54-g00ecf