Skip to content

Commit 1972c6a

Browse files
committed
add output
1 parent 738919b commit 1972c6a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/smoke_test/smoke_test.py

+2
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,15 @@ def get_anaconda_output_for_package(pkg_name_str):
2323
if installation_str.find("conda install") != -1:
2424
cmd = "conda list --explicit"
2525
output = sp.getoutput(cmd)
26+
print(f"output: {output}")
2627
for item in output.split("\n"):
2728
if pkg_name_str in item:
2829
return item
2930
return f"{pkg_name_str} can't be found"
3031
else:
3132
cmd = "conda list -f " + pkg_name_str
3233
output = sp.getoutput(cmd)
34+
print(f"output: {output}")
3335
# Get the last line only
3436
return output.strip().split('\n')[-1]
3537

0 commit comments

Comments
 (0)