def METHOD_NAME(self, config_stub):
    """Test multiple completion options with use_best_match set to false.
    Should raise NoSuchCommandError
    """
    config_stub.val.completion.use_best_match = False
    p = parser.CommandParser(partial_match=True)
    with pytest.raises(cmdexc.NoSuchCommandError):
        p.parse('tw')