summaryrefslogtreecommitdiff
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-12-17 22:51:55 -0500
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-12-17 22:51:55 -0500
commitd91943f4ddbfcc47b35f26883e1068d5693c0f03 (patch)
tree958a330c77958dd99775516ab95d5a8890f88353 /tests/conftest.py
parent60d236fdd331304b9d516f080c9a36c08c4baa9e (diff)
downloadcmd2-git-d91943f4ddbfcc47b35f26883e1068d5693c0f03.tar.gz
Updating unit tests
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py9
1 files changed, 9 insertions, 0 deletions
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