def test_off(self):
     from pythonbrew.commands.off import OffCommand
     from pythonbrew.define import PATH_HOME_ETC_CURRENT
     eq_(False, os.path.isfile(PATH_HOME_ETC_CURRENT))
     c = OffCommand()
     c.run_command(None, None)
     ok_(os.path.isfile(PATH_HOME_ETC_CURRENT))
Esempio n. 2
0
def test_06_off():
    from pythonbrew.commands.off import OffCommand
    c = OffCommand()
    c.run_command(None, None)