summaryrefslogtreecommitdiffstats
path: root/tests/test_error.py
diff options
context:
space:
mode:
authorJason Chang <jasonnc@google.com>2023-08-03 14:38:00 -0700
committerLUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-08-07 23:56:07 +0000
commitf9aacd4087b02948da9a7878da48ea186ab99d5a (patch)
treeb683190635cd6fcb7cf817837ad0c4259b53078f /tests/test_error.py
parentb8a7b4a629c3435d77a3266a4e6dce51dc342bd9 (diff)
downloadgit-repo-f9aacd4087b02948da9a7878da48ea186ab99d5a.tar.gz
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 <jasonnc@google.com> Reviewed-by: Joanna Wang <jojwang@google.com> Commit-Queue: Jason Chang <jasonnc@google.com>
Diffstat (limited to 'tests/test_error.py')
-rw-r--r--tests/test_error.py4
1 files changed, 4 insertions, 0 deletions
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
21import error 21import error
22import project 22import project
23import git_command 23import git_command
24import fetch
25import command
24from subcmds import all_modules 26from subcmds import all_modules
25 27
26imports = all_modules + [ 28imports = all_modules + [
27 error, 29 error,
28 project, 30 project,
29 git_command, 31 git_command,
32 fetch,
33 command,
30] 34]
31 35
32 36