Ejemplo n.º 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))
Ejemplo n.º 3
0
def test_use():
    from pythonbrew.commands.use import UseCommand

    c = UseCommand()
    c.run_command(None, [TESTPY_VERSION])
Ejemplo n.º 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])
Ejemplo n.º 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])