def test_find_details():
    test_fs = DummyTestFS()
    filenames = test_fs.find('/')
    details = test_fs.find('/', detail=True)
    for filename in filenames:
        assert (details[filename] == test_fs.info(filename))
def test_find_details():
    test_fs = DummyTestFS()
    filenames = test_fs.find('/')
    details = test_fs.find('/', detail=True)
    for filename in filenames:
        assert (details[filename] == test_fs.info(filename))