def env_dir(tmpdir):
    """Pytest fixture used to generate an extra (external) config directory"""
    test_dir = tmpdir.mkdir("fromenv")
    test_dir.join('fromenv.cfg').write('')

    return test_dir