Files
pipenv/tests/test_project.py
T
Nate Prewitt 1126d79311 more tests
2017-02-09 09:05:18 -07:00

19 lines
572 B
Python

import pipenv.project
class TestProject():
def test_project(self):
proj = pipenv.project.Project()
assert proj.name == 'pipenv'
assert proj.pipfile_exists
assert proj.virtualenv_exists
def test_pew_by_default(self):
proj = pipenv.project.Project()
assert proj.virtualenv_location.endswith('.local/share/virtualenvs/pipenv')
def test_proper_names(self):
proj = pipenv.project.Project()
assert proj.virtualenv_location in proj.proper_names_location
assert isinstance(proj.proper_names, list)