summaryrefslogtreecommitdiff
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-12-19 16:41:18 -0500
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-12-19 16:41:18 -0500
commit1a26c0254b2c2834998b8a28f04e8aedc08c587f (patch)
tree59323a1ec658c5b7b22c833aa03c5ef57ea51407 /tests/conftest.py
parent801bab847341fb9a35d10f1d0b4a629a4fc8f14c (diff)
parent6a1ec96f6975b7065703602be4484c81079cb086 (diff)
downloadcmd2-git-1a26c0254b2c2834998b8a28f04e8aedc08c587f.tar.gz
Merge branch 'master' into ansi_to_style
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 631c6e25..3d4059d9 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