Update tests to check record=False
@@ -592,17 +592,17 @@ class TestCeleryBuilding(TestCase):
[
mock.call('asdf', 'install', 'python', python_version),
mock.call('asdf', 'global', 'python', python_version),
- mock.call('asdf', 'reshim', 'python'),
+ mock.call('asdf', 'reshim', 'python', record=False),
mock.call('python', '-mpip', 'install', '-U', 'virtualenv', 'setuptools'),
mock.call('asdf', 'install', 'nodejs', nodejs_version),
mock.call('asdf', 'global', 'nodejs', nodejs_version),
- mock.call('asdf', 'reshim', 'nodejs'),
+ mock.call('asdf', 'reshim', 'nodejs', record=False),
mock.call('asdf', 'install', 'rust', rust_version),
mock.call('asdf', 'global', 'rust', rust_version),
- mock.call('asdf', 'reshim', 'rust'),
+ mock.call('asdf', 'reshim', 'rust', record=False),
mock.call('asdf', 'install', 'golang', golang_version),
mock.call('asdf', 'global', 'golang', golang_version),
- mock.call('asdf', 'reshim', 'golang'),
+ mock.call('asdf', 'reshim', 'golang', record=False),
mock.ANY,
],
)
@@ -668,30 +668,34 @@ class TestCeleryBuilding(TestCase):
# and on CircleCI
mock.ANY,
f'/home/docs/.asdf/installs/python/{python_version}',
+ record=False,
),
mock.call('asdf', 'global', 'python', python_version),
- mock.call('asdf', 'reshim', 'python'),
+ mock.call('asdf', 'reshim', 'python', record=False),
mock.call(
'mv',
mock.ANY,
f'/home/docs/.asdf/installs/nodejs/{nodejs_version}',
+ record=False,
),
mock.call('asdf', 'global', 'nodejs', nodejs_version),
- mock.call('asdf', 'reshim', 'nodejs'),
+ mock.call('asdf', 'reshim', 'nodejs', record=False),
mock.call(
'mv',
mock.ANY,
f'/home/docs/.asdf/installs/rust/{rust_version}',
+ record=False,
),
mock.call('asdf', 'global', 'rust', rust_version),
- mock.call('asdf', 'reshim', 'rust'),
+ mock.call('asdf', 'reshim', 'rust', record=False),
mock.call(
'mv',
mock.ANY,
f'/home/docs/.asdf/installs/golang/{golang_version}',
+ record=False,
),
mock.call('asdf', 'global', 'golang', golang_version),
- mock.call('asdf', 'reshim', 'golang'),
+ mock.call('asdf', 'reshim', 'golang', record=False),
mock.ANY,
],
)
