@@ -32,6 +32,11 @@ class { 'python':
32
32
apply_manifest ( pp , catch_failures : true )
33
33
apply_manifest ( pp , catch_changes : true )
34
34
end
35
+
36
+ describe command ( '/opt/agent/venv/bin/pip list' ) do
37
+ its ( :exit_status ) { is_expected . to eq 0 }
38
+ its ( :stdout ) { is_expected . to match %r{agent} }
39
+ end
35
40
end
36
41
37
42
context 'with python::pip' do
@@ -72,6 +77,11 @@ class { 'python':
72
77
apply_manifest ( pp , catch_failures : true )
73
78
apply_manifest ( pp , catch_changes : true )
74
79
end
80
+
81
+ describe command ( '/opt/agent/venv/bin/pip list' ) do
82
+ its ( :exit_status ) { is_expected . to eq 0 }
83
+ its ( :stdout ) { is_expected . to match %r{agent} }
84
+ end
75
85
end
76
86
77
87
context 'with minimal python::pip' do
@@ -109,6 +119,11 @@ class { 'python':
109
119
apply_manifest ( pp , catch_failures : true )
110
120
apply_manifest ( pp , catch_changes : true )
111
121
end
122
+
123
+ describe command ( '/opt/agent/venv/bin/pip list' ) do
124
+ its ( :exit_status ) { is_expected . to eq 0 }
125
+ its ( :stdout ) { is_expected . to match %r{agent} }
126
+ end
112
127
end
113
128
114
129
context 'with minimal python::pip and without systempkgs' do
@@ -146,6 +161,11 @@ class { 'python':
146
161
apply_manifest ( pp , catch_failures : true )
147
162
apply_manifest ( pp , catch_changes : true )
148
163
end
164
+
165
+ describe command ( '/opt/agent/venv/bin/pip list' ) do
166
+ its ( :exit_status ) { is_expected . to eq 0 }
167
+ its ( :stdout ) { is_expected . to match %r{agent} }
168
+ end
149
169
end
150
170
151
171
context 'with versioned minimal python::pip and without systempkgs' do
0 commit comments