diff options
| author | kotfu <kotfu@kotfu.net> | 2018-02-20 23:07:02 -0700 |
|---|---|---|
| committer | kotfu <kotfu@kotfu.net> | 2018-02-20 23:07:02 -0700 |
| commit | efb8b5f093de674098cee73aaaaf61ca5dc9f649 (patch) | |
| tree | 211b7d606a2f6c55c61e144960c09a2e3f253d7f /tests | |
| parent | 3f9788c3582f97353b8551caa92483f97f554ca1 (diff) | |
| download | cmd2-git-efb8b5f093de674098cee73aaaaf61ca5dc9f649.tar.gz | |
Removed an assertion which will fail if your home directory is empty
NixOS build and packaging system builds with a fake $HOME which has no contents. This assertion will fail in those cases, and doesn’t really test the completion code anyway.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_completion.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/test_completion.py b/tests/test_completion.py index 70f77d0a..0ae4215f 100644 --- a/tests/test_completion.py +++ b/tests/test_completion.py @@ -375,11 +375,6 @@ def test_path_completion_user_expansion(cmd2_app): # Verify that the results are the same in both cases assert completions_tilde == completions_home - # This next assert fails on AppVeyor Windows containers, but works fine on my Windows 10 VM - if not sys.platform.startswith('win'): - # Verify that there is something there - assert completions_tilde - def test_path_completion_directories_only(cmd2_app, request): test_dir = os.path.dirname(request.module.__file__) |
