We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7100704 commit 7d4ec33Copy full SHA for 7d4ec33
spec/defines/pyvenv_spec.rb
@@ -35,6 +35,16 @@
35
}
36
end
37
38
+
39
+ context 'custom index is provided' do
40
+ let :params do
41
+ {
42
+ index: 'https://site.tld',
43
+ }
44
+ end
45
46
+ 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') }
47
48
49
50
context "prompt on #{os} with python 3.6" do
0 commit comments