[英]Printing in lettuce (python)
How to print a string in lettuce? 如何在生菜中打印字符串? In steps.py
just a print "test"
doesn't print it on stdout. 在steps.py
仅print "test"
不会将其打印在stdout上。
response = generate_string()
print response
The above doesn't work in lettuce. 以上不适用于生菜。 I am guessing Lettuce is grabbing all the stdout prints 我猜生菜正在抓住所有的标准输出
添加一个'\\ n'添加结束我的情况。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.