def uuid(dev=None):
    try:
        if dev is None:
            # take the only directory in /sys/fs/bcache and return it's basename
            return list(os.walk('/sys/fs/bcache/'))[0][1][0]
        else:
            # basename of the /sys/block/{dev}/bcache/cache symlink target
            return os.path.basename(_bcsys(dev, 'cache'))
    except:  # pylint: disable=bare-except
        return False
Return a test suite consisting of all the test cases in the module.
dataset/ETHPy150Open saltstack/salt/salt/modules/bcache.py/uuid--crossover with--dataset/ETHPy150Open PyTables/PyTables/tables/tests/test_hdf5compat.py/suite