@@ -31,6 +31,11 @@ class { 'python':
3131 apply_manifest ( pp , catch_failures : true )
3232 apply_manifest ( pp , catch_changes : true )
3333 end
34+
35+ describe command ( '/opt/agent/venv/bin/pip list' ) do
36+ its ( :exit_status ) { is_expected . to eq 0 }
37+ its ( :stdout ) { is_expected . to match %r{agent} }
38+ end
3439 end
3540
3641 context 'with python::pip' do
@@ -70,6 +75,11 @@ class { 'python':
7075 apply_manifest ( pp , catch_failures : true )
7176 apply_manifest ( pp , catch_changes : true )
7277 end
78+
79+ describe command ( '/opt/agent/venv/bin/pip list' ) do
80+ its ( :exit_status ) { is_expected . to eq 0 }
81+ its ( :stdout ) { is_expected . to match %r{agent} }
82+ end
7383 end
7484
7585 context 'with minimal python::pip' do
@@ -106,6 +116,11 @@ class { 'python':
106116 apply_manifest ( pp , catch_failures : true )
107117 apply_manifest ( pp , catch_changes : true )
108118 end
119+
120+ describe command ( '/opt/agent/venv/bin/pip list' ) do
121+ its ( :exit_status ) { is_expected . to eq 0 }
122+ its ( :stdout ) { is_expected . to match %r{agent} }
123+ end
109124 end
110125
111126 context 'with minimal python::pip and without systempkgs' do
@@ -142,6 +157,11 @@ class { 'python':
142157 apply_manifest ( pp , catch_failures : true )
143158 apply_manifest ( pp , catch_changes : true )
144159 end
160+
161+ describe command ( '/opt/agent/venv/bin/pip list' ) do
162+ its ( :exit_status ) { is_expected . to eq 0 }
163+ its ( :stdout ) { is_expected . to match %r{agent} }
164+ end
145165 end
146166
147167 context 'with versioned minimal python::pip and without systempkgs' do
0 commit comments