File: echo.py

package info (click to toggle)
cmd2 2.5.11%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,244 kB
  • sloc: python: 19,643; makefile: 73; sh: 67; javascript: 30
file content (9 lines) | stat: -rw-r--r-- 288 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
# flake8: noqa F821
# Tests echo argument to app()
app.cmd_echo = False

# echo defaults to current setting which is False, so this help text should not be echoed to pytest's stdout
app('help alias')

# pytest's stdout should have this help text written to it
app('help edit', echo=True)