def test_create_virtualenv(project_home, project):
    env = Path(invoke('in', project, *check_env).out)
    assert project == env.name
    with (env / '.project').open() as f:
        assert str(project_home.absolute() / project) == f.read().strip()
dataset/ETHPy150Open berdario/pew/tests/test_project.py/test_create_virtualenv/original