Skip to content
Snippets Groups Projects
Commit fb9f928d authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Mock 'python --version' command

parent 03fa7969
No related branches found
No related tags found
1 merge request!544Reproducibility, step 1
......@@ -48,6 +48,10 @@ class FakeProcessCalibrate(FakeProcess):
self.register_subprocess(
[self.any(), '-m', 'pip', 'freeze'], stdout=["h5py==3.3.0"],
)
# For getting Python version from user venv
self.register_subprocess(
[self.any(), '--version'], stdout=["Python 3.x.y"]
)
self.keep_last_process(True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment