flake8
failed.
JSHint
passed.
Review Request #12294 — Created May 22, 2022 and submitted
TestTool.get_file()
now accepts specialbad:file-not-found
and
bad:scm-error
paths that will simulate theFileNotFoundError
and
SCMError
exceptions, respectively. This can aid in testing against
these sorts of results without needing to spy on methods.
Made use of this in an upcoming change. Simulated both error types.
Summary | ID |
---|---|
9e50c48d637c9521f22a36da13bf9ccfba7b2eff |
Description | From | Last Updated |
---|---|---|
F821 undefined name 'FileNotFoundError' |
reviewbot |
Added a line missed during
git add -p
.
Summary | ID | |
---|---|---|
8d932b93dc6bbc44c8613c2c840ef0312fe4d22d | ||
9e50c48d637c9521f22a36da13bf9ccfba7b2eff |
Revision 2 (+54 -2)