File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 48
48
context "adds proxy to search command if set to latest" do
49
49
let ( :params ) { { :proxy => "http://my.proxy:3128" , :ensure => 'latest' } }
50
50
it { is_expected . to contain_exec ( "pip_install_rpyc" ) . with_command ( "pip wheel --help > /dev/null 2>&1 && { pip wheel --version > /dev/null 2>&1 || wheel_support_flag='--no-use-wheel'; } ; { pip --log /tmp/pip.log install --upgrade $wheel_support_flag --proxy=http://my.proxy:3128 rpyc || pip --log /tmp/pip.log install --upgrade --proxy=http://my.proxy:3128 rpyc ;}" ) }
51
- it { is_expected . to contain_exec ( "pip_install_rpyc" ) . with_unless ( 'pip search --proxy=http://my.proxy:3128 rpyc | grep -i INSTALLED | grep -i latest' ) }
51
+ it { is_expected . to contain_exec ( "pip_install_rpyc" ) . with_unless ( 'pip search --proxy=http://my.proxy:3128 rpyc | grep -i INSTALLED.* latest' ) }
52
52
end
53
53
end
54
54
You can’t perform that action at this time.
0 commit comments