(example_app)
| 27 | |
| 28 | |
| 29 | def test_example_app_dialog_style(example_app): |
| 30 | # test the helper class plus demonstrate how to use it... |
| 31 | example_app.expect(textwrap.dedent("""\ |
| 32 | hi, there! |
| 33 | let's get to know each other better... |
| 34 | Please enter your name: """)) |
| 35 | example_app.writeline('Stuart') |
| 36 | example_app.expect(textwrap.dedent("""\ |
| 37 | Hi Stuart, have a nice day! |
| 38 | It was a pleasure talking to you... |
| 39 | """)) |
| 40 | |
| 41 | |
| 42 | def test_example_app_no_match(example_app): |