예제 #1
0
 def test_use(self):
     from pythonbrew.commands.use import UseCommand
     from pythonbrew.define import PATH_HOME_ETC_TEMP
     self._create_dummy('2.7.5')
     eq_(False, os.path.isfile(PATH_HOME_ETC_TEMP))
     c = UseCommand()
     c.run_command(None, ['2.7.5'])
     ok_(os.path.isfile(PATH_HOME_ETC_TEMP))
 def test_use(self):
     from pythonbrew.commands.use import UseCommand
     from pythonbrew.define import PATH_HOME_ETC_TEMP
     self._create_dummy('2.7.5')
     eq_(False, os.path.isfile(PATH_HOME_ETC_TEMP))
     c = UseCommand()
     c.run_command(None, ['2.7.5'])
     ok_(os.path.isfile(PATH_HOME_ETC_TEMP))
예제 #3
0
def test_use():
    from pythonbrew.commands.use import UseCommand

    c = UseCommand()
    c.run_command(None, [TESTPY_VERSION])
예제 #4
0
def test_05_use():
    from pythonbrew.commands.use import UseCommand
    for py_version in TESTPY_VERSION:
        c = UseCommand()
        c.run_command(None, [py_version])
예제 #5
0
def test_05_use():
    from pythonbrew.commands.use import UseCommand
    for py_version in TESTPY_VERSION:
        c = UseCommand()
        c.run_command(None, [py_version])