diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2020-02-13 22:34:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-13 22:34:22 -0500 |
commit | 013b9e0a2c75e17f8aa0e0f7cbe50d84d2f657d8 (patch) | |
tree | e3cc4c27ed21a2e1d01caae0bda4ea51c44e59f6 /tests/conftest.py | |
parent | ad0e2ae0d0d426fe08353fd82d1f9ff051be9108 (diff) | |
parent | 7fe5cf7c1ab7d7a68991d1aeebaa338f7c5d2fd0 (diff) | |
download | cmd2-git-013b9e0a2c75e17f8aa0e0f7cbe50d84d2f657d8.tar.gz |
Merge pull request #887 from python-cmd2/completion_docs
Completion docs
Diffstat (limited to 'tests/conftest.py')
-rw-r--r-- | tests/conftest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 7f77a207..9ee8da19 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -185,7 +185,7 @@ def complete_tester(text: str, line: str, begidx: int, endidx: int, app) -> Opti def get_endidx(): return endidx - # Run the readline tab-completion function with readline mocks in place + # Run the readline tab completion function with readline mocks in place with mock.patch.object(readline, 'get_line_buffer', get_line): with mock.patch.object(readline, 'get_begidx', get_begidx): with mock.patch.object(readline, 'get_endidx', get_endidx): |