mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
19 lines
572 B
Python
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)
|