mirror of
https://github.com/kennethreitz-archive/python-build.git
synced 2026-06-05 23:30:18 +00:00
update venv command
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
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'])
|
||||
Reference in New Issue
Block a user