update venv command

This commit is contained in:
utahta
2011-07-22 01:56:01 +09:00
parent 4aa62201c7
commit 9fbc3273cf
8 changed files with 135 additions and 58 deletions
+11
View File
@@ -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'])