From efb8b5f093de674098cee73aaaaf61ca5dc9f649 Mon Sep 17 00:00:00 2001 From: kotfu Date: Tue, 20 Feb 2018 23:07:02 -0700 Subject: Removed an assertion which will fail if your home directory is empty MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- tests/test_completion.py | 5 ----- 1 file changed, 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__) -- cgit v1.2.1