MCPcopy Create free account
hub / github.com/CITGuru/PyInquirer / test_example_app_dialog_style

Function test_example_app_dialog_style

tests/test_helpers.py:29–39  ·  view source on GitHub ↗
(example_app)

Source from the content-addressed store, hash-verified

27
28
29def 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
42def test_example_app_no_match(example_app):

Callers

nothing calls this directly

Calls 2

expectMethod · 0.80
writelineMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…