We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7100704 commit 530b9edCopy full SHA for 530b9ed
spec/defines/pyvenv_spec.rb
@@ -35,6 +35,15 @@
35
}
36
end
37
38
+ context 'custom index is provided' do
39
+
40
+ let :params do
41
+ {
42
+ index: 'https://site.tld',
43
+ }
44
+ end
45
+ it { is_expected.to contain_exec('python_virtualenv_/opt/env').with_command('pyvenv-3.5 --clear /opt/env && /opt/env/bin/pip --log /opt/env/pip.log install -i https://site.tld --upgrade pip && /opt/env/bin/pip --log /opt/env/pip.log install -i https://site.tld --upgrade setuptools') }
46
47
48
49
context "prompt on #{os} with python 3.6" do
0 commit comments