fix for tests

This commit is contained in:
Paul Gauthier 2024-07-03 21:02:26 -03:00
parent 3c1a6acc0d
commit aaceec1e1f

View file

@ -37,8 +37,9 @@ class AutoCompleter(Completer):
self.words = set()
self.commands = commands
self.command_names = self.commands.get_commands()
self.command_completions = dict()
if commands:
self.command_names = self.commands.get_commands()
for rel_fname in addable_rel_fnames:
self.words.add(rel_fname)