We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 791ede9 commit 645d247Copy full SHA for 645d247
1 file changed
spec/classes/python_spec.rb
@@ -314,6 +314,17 @@
314
it { is_expected.to contain_class('python::install') }
315
it { is_expected.to contain_package('pip').with_name('python2-pip') }
316
317
+ describe 'with python::version' do
318
+ context 'python36' do
319
+ let(:params) { { version: 'python36' } }
320
+
321
+ it { is_expected.to compile.with_all_deps }
322
+ it { is_expected.to contain_package('pip').with_name('python36-pip') }
323
+ it { is_expected.to contain_package('python').with_name('python36') }
324
+ it { is_expected.to contain_package('python-dev').with_name('python36-devel') }
325
+ it { is_expected.to contain_package('virtualenv').with_name('python36-virtualenv') }
326
+ end
327
328
describe 'with python::provider' do
329
context 'scl' do
330
describe 'with version' do
0 commit comments