From d91943f4ddbfcc47b35f26883e1068d5693c0f03 Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Tue, 17 Dec 2019 22:51:55 -0500 Subject: Updating unit tests --- tests/conftest.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests/conftest.py') diff --git a/tests/conftest.py b/tests/conftest.py index e09e07b1..6b7c5aff 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -157,6 +157,15 @@ def base_app(): return cmd2.Cmd() +# These are odd file names for testing quoting of them +odd_file_names = [ + 'nothingweird', + 'has spaces', + '"is_double_quoted"', + "'is_single_quoted'" +] + + def complete_tester(text: str, line: str, begidx: int, endidx: int, app) -> Optional[str]: """ This is a convenience function to test cmd2.complete() since -- cgit v1.2.1