def _sws(s):
    if isinstance(s,str):
        return "".join(s.split())
    else:
        return b("").join(s.split())
Test that a directory's contents can be retrieved.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pycrypto-2.6.1/lib/Crypto/SelfTest/PublicKey/test_DSA.py/_sws--crossover with--dataset/ETHPy150Open sigmavirus24/github3.py/tests/integration/test_repos_repo.py/TestRepository.test_directory_contents