@@ -31,6 +31,11 @@ class { 'python':
31
31
apply_manifest ( pp , catch_failures : true )
32
32
apply_manifest ( pp , catch_changes : true )
33
33
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
34
39
end
35
40
36
41
context 'with python::pip' do
@@ -70,6 +75,11 @@ class { 'python':
70
75
apply_manifest ( pp , catch_failures : true )
71
76
apply_manifest ( pp , catch_changes : true )
72
77
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
73
83
end
74
84
75
85
context 'with minimal python::pip' do
@@ -106,6 +116,11 @@ class { 'python':
106
116
apply_manifest ( pp , catch_failures : true )
107
117
apply_manifest ( pp , catch_changes : true )
108
118
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
109
124
end
110
125
111
126
context 'with minimal python::pip and without systempkgs' do
@@ -142,6 +157,11 @@ class { 'python':
142
157
apply_manifest ( pp , catch_failures : true )
143
158
apply_manifest ( pp , catch_changes : true )
144
159
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
145
165
end
146
166
147
167
context 'with versioned minimal python::pip and without systempkgs' do
0 commit comments