mirror of
https://github.com/kennethreitz-archive/python-build.git
synced 2026-06-05 23:30:18 +00:00
12 lines
353 B
Python
12 lines
353 B
Python
class VenvOptions(object):
|
|
python = '2.6.6'
|
|
all = False
|
|
|
|
def test_venv():
|
|
from pythonbrew.commands.venv import VenvCommand
|
|
c = VenvCommand()
|
|
c.run_command(VenvOptions(), ['create', 'aaa'])
|
|
c.run_command(VenvOptions(), ['list'])
|
|
c.run_command(VenvOptions(), ['use', 'aaa'])
|
|
c.run_command(VenvOptions(), ['delete', 'aaa'])
|