示例#1
0
def test_parent_dir_with_file():
    parent = _get_parent_dir_with_file(os.path.abspath(os.curdir),
                                       'buildout.cfg')
    assert parent is not None
    assert parent.endswith(
        os.path.join('test', 'test_evaluate', 'buildout_project'))
def test_parent_dir_with_file():
    parent = _get_parent_dir_with_file(os.path.abspath(os.curdir), "buildout.cfg")
    assert parent is not None
    assert parent.endswith(os.path.join("test", "test_evaluate", "buildout_project"))
示例#3
0
def test_parent_dir_with_file(Script):
    parent = _get_parent_dir_with_file(
        os.path.abspath(os.curdir), 'buildout.cfg')
    assert parent is not None
    assert parent.endswith(os.path.join('test', 'examples', 'buildout_project'))
def test_parent_dir_with_file(Script):
    parent = _get_parent_dir_with_file(
        os.path.abspath(os.curdir), 'buildout.cfg')
    assert parent is not None
    assert parent.endswith(os.path.join('test', 'examples', 'buildout_project'))
def test_parent_dir_with_file():
    parent = _get_parent_dir_with_file(
        os.path.abspath(os.curdir), 'buildout.cfg')
    assert parent is not None
    assert parent.endswith(os.path.join('test', 'test_evaluate', 'buildout_project'))