2

How to print a string in lettuce? In steps.py just a print "test" doesn't print it on stdout.

response = generate_string()
print response

The above doesn't work in lettuce. I am guessing Lettuce is grabbing all the stdout prints

Pramod Setlur
  • 811
  • 1
  • 15
  • 27
  • 1
    What if you make it print what you want as an error with a failed assertion such as assert response == "uNliLelY", "Got response %d" % response ? –  Aug 19 '15 at 01:22

1 Answers1

0

adding a '\n' add the end worked in my case.

omar
  • 9
  • 6