File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 context "adds proxy to search command if set to latest" do
4949 let ( :params ) { { :proxy => "http://my.proxy:3128" , :ensure => 'latest' } }
5050 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' ) }
5252 end
5353 end
5454
You can’t perform that action at this time.
0 commit comments