mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
Merge pull request #3944 from mitmproxy/fix-docker-smoke-test
Fix docker smoke test
This commit is contained in:
commit
408c9a6ff3
@ -361,15 +361,12 @@ def build_docker_image(be: BuildEnviron): # pragma: no cover
|
||||
"docker",
|
||||
"run",
|
||||
"--rm",
|
||||
"--it",
|
||||
"mitmproxy/mitmproxy:" + be.docker_tag,
|
||||
"mitmproxy",
|
||||
be.docker_tag,
|
||||
"mitmdump",
|
||||
"--version",
|
||||
], check=True)
|
||||
assert "Mitmproxy: " + be.version in r.stdout.decode()
|
||||
assert "Python: " in r.stdout.decode()
|
||||
assert "OpenSSL: " in r.stdout.decode()
|
||||
assert "Platform: " in r.stdout.decode()
|
||||
], check=True, capture_output=True)
|
||||
print(r.stdout.decode())
|
||||
assert "Mitmproxy: " in r.stdout.decode()
|
||||
|
||||
|
||||
def build_pyinstaller(be: BuildEnviron): # pragma: no cover
|
||||
|
Loading…
Reference in New Issue
Block a user