diff options
| author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-02-11 20:51:27 -0500 |
|---|---|---|
| committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-02-11 20:51:27 -0500 |
| commit | f9d241418862d9ee6d680c6f4474363e50bc617f (patch) | |
| tree | 83bf77942ccdb4288ed704643a86b91a34e56a5b /tests/test_cmd2.py | |
| parent | e637637ff4eedb6d997d6835a9b9bedddbb22b00 (diff) | |
| download | cmd2-git-f9d241418862d9ee6d680c6f4474363e50bc617f.tar.gz | |
Refactored to move all cmd2.Cmd class member variables to beginning.
Also:
- Added locals_in_py to settable parameters to match documentation.
- Added pycon2010 slides back into doc build since they are referenced with :doc:
- Fixed some references in the documentation
- Updated unit tests accordingly
Diffstat (limited to 'tests/test_cmd2.py')
| -rw-r--r-- | tests/test_cmd2.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index b89f96d4..39669397 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -206,7 +206,8 @@ def test_base_cmdenvironment(base_app): # Settable parameters can be listed in any order, so need to validate carefully using unordered sets settable_params = {'continuation_prompt', 'default_file_name', 'prompt', 'abbrev', 'quiet', 'case_insensitive', - 'colors', 'echo', 'timing', 'editor', 'feedback_to_output', 'debug', 'autorun_on_edit'} + 'colors', 'echo', 'timing', 'editor', 'feedback_to_output', 'debug', 'autorun_on_edit', + 'locals_in_py'} out_params = set(out[2].split("Settable parameters: ")[1].split()) assert settable_params == out_params |
