def refresh_special(self): self.completer.extend_special_commands(COMMANDS.keys())
def test_command_descriptions_end_with_periods(): """Make sure that mycli commands' descriptions end with a period.""" MyCli() for _, command in SPECIAL_COMMANDS.items(): assert command[3].endswith('.')