-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes issue #419. Mixed old an new formatters
One ClickException statement mixed the old and new formatters using the {} from the new but the % template/variable list separator from the new formatter. Includes documentation in docs/changes.rst
- Loading branch information
1 parent
2a412c9
commit 28ec9d0
Showing
4 changed files
with
35 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# !PROCESS!AT!STARTUP! | ||
""" | ||
This is an error test of the code that processes a script at startup. This | ||
python code specifically includes a syntax error to be caught by pywbemcli. | ||
Note that this file is marked to process at startup which is really a private | ||
extension for the test environment. | ||
""" | ||
|
||
|
||
def mock?prompt(msg): # noqa: E999 | ||
"""Mock function to replace pywbemcli_prompt and return a value""" | ||
# pylint: disable=undefined-variable | ||
print(msg) | ||
return "HaHa" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters