Skip to content

Commit de59cb8

Browse files
committed
[Isolated] Test python pacakges are installed when in an ADC region
1 parent f2d2c73 commit de59cb8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cookbooks/aws-parallelcluster-platform/spec/unit/recipes/cookbook_virtualenv_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
context "when cookbook virtualenv not installed yet" do
1212
cached(:chef_run) do
1313
runner = runner(platform: platform, version: version) do |node|
14+
allow_any_instance_of(Object).to receive(:aws_region).and_return(aws_region)
1415
node.override['cluster']['system_pyenv_root'] = system_pyenv_root
1516
node.override['cluster']['python-version'] = python_version
1617
node.override['cluster']['region'] = aws_region

0 commit comments

Comments
 (0)