Sign in
cobalt
/
pre-commit-hooks
/
a7f73434a6fa95b2f14c476e8a1d3d10590946d5
/
.
/
tests
/
autopep8_wrapper_test.py
blob: f8030b51eb6552d38b74ed80bf5089117464d050 [
file
] [
log
] [
blame
]
import
pytest
from
pre_commit_hooks
.
autopep8_wrapper
import
main
def
test_invariantly_fails
():
with
pytest
.
raises
(
SystemExit
)
as
excinfo
:
main
()
msg
,
=
excinfo
.
value
.
args
assert
'https://github.com/pre-commit/mirrors-autopep8'
in
msg