def test_same_workon_and_project_home(workon_home, project_home):
    with temp_environ():
        os.environ['PROJECT_HOME'] = str(workon_home)
        envname = 'whatever'
        with pytest.raises(CalledProcessError):
            check_call('pew mkproject {0} -d'.format(envname).split())
        assert (workon_home / envname).exists()
        assert not (project_home / envname).exists()
dataset/ETHPy150Open berdario/pew/tests/test_project.py/test_same_workon_and_project_home/original