Skip to content

Commit efb8b5f

Browse files
committed
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.
1 parent 3f9788c commit efb8b5f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/test_completion.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -375,11 +375,6 @@ def test_path_completion_user_expansion(cmd2_app):
375375
# Verify that the results are the same in both cases
376376
assert completions_tilde == completions_home
377377

378-
# This next assert fails on AppVeyor Windows containers, but works fine on my Windows 10 VM
379-
if not sys.platform.startswith('win'):
380-
# Verify that there is something there
381-
assert completions_tilde
382-
383378
def test_path_completion_directories_only(cmd2_app, request):
384379
test_dir = os.path.dirname(request.module.__file__)
385380

0 commit comments

Comments
 (0)