We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 738919b commit 1972c6aCopy full SHA for 1972c6a
test/smoke_test/smoke_test.py
@@ -23,13 +23,15 @@ def get_anaconda_output_for_package(pkg_name_str):
23
if installation_str.find("conda install") != -1:
24
cmd = "conda list --explicit"
25
output = sp.getoutput(cmd)
26
+ print(f"output: {output}")
27
for item in output.split("\n"):
28
if pkg_name_str in item:
29
return item
30
return f"{pkg_name_str} can't be found"
31
else:
32
cmd = "conda list -f " + pkg_name_str
33
34
35
# Get the last line only
36
return output.strip().split('\n')[-1]
37
0 commit comments