示例#1
0
 def setUpClass(cls):
     cls.vm = create_vm(cls.__name__, 'SUSE:openSUSE:13.2:2016.03.02')
     cls.vm(['sudo', 'zypper', 'refresh'])
     cls.vm([
         'sudo', 'zypper', '--non-interactive', 'install', 'gcc',
         'libffi-devel', 'python-devel', 'openssl-devel'
     ])
示例#2
0
 def setUpClass(cls):
     cls.vm = create_vm(
         cls.__name__, 'Canonical:UbuntuServer:12.04.5-LTS:12.04.201605160')
     cls.vm(['sudo', 'apt-get', 'update'])
     cls.vm(
         ['sudo', 'apt-get', 'install', '-y', 'libssl-dev', 'libffi-dev'])
     cls.vm(['sudo', 'apt-get', 'install', '-y', 'python-dev'])
示例#3
0
 def setUpClass(cls):
     cls.vm = create_vm(cls.__name__, 'OpenLogic:CentOS:7.1:7.1.20160308')
     cls.vm(['sudo', 'yum', 'check-update'], _ok_code=[0, 100])
     cls.vm([
         'sudo', 'yum', 'install', '-y', 'gcc', 'libffi-devel',
         'python-devel', 'openssl-devel'
     ])
示例#4
0
 def setUpClass(cls):
     cls.vm = create_vm(cls.__name__, 'RedHat:RHEL:7.2:7.2.20160302')
     cls.vm(['sudo', 'yum', 'check-update'], _ok_code=[0, 100])
     cls.vm([
         'sudo', 'yum', 'install', '-y', 'gcc', 'libffi-devel',
         'python-devel', 'openssl-devel'
     ])
示例#5
0
 def setUpClass(cls):
     cls.vm = create_vm(cls.__name__,
                        'Canonical:UbuntuServer:15.10:15.10.201605160')
     cls.vm(['sudo', 'apt-get', 'update'])
     cls.vm(
         ['sudo', 'apt-get', 'install', '-y', 'libssl-dev', 'libffi-dev'])
     cls.vm(['sudo', 'apt-get', 'install', '-y', 'python-dev'])
     cls.vm(['sudo', 'apt-get', 'install', '-y', 'build-essential'])
示例#6
0
 def setUpClass(cls):
     cls.vm = create_vm(cls.__name__, 'credativ:Debian:7:7.0.201604200')
     cls.vm(['sudo', 'apt-get', 'update'])
     cls.vm(['sudo', 'apt-get', 'install', '-y', 'curl'])
     cls.vm([
         'sudo', 'apt-get', 'install', '-y', 'libssl-dev', 'libffi-dev',
         'python-dev'
     ])
示例#7
0
 def setUpClass(cls):
     cls.vm = create_vm(cls.__name__, 'Canonical:UbuntuServer:16.04.0-LTS:16.04.201605161')
     cls.vm(['sudo', 'apt-get', 'update'])
     cls.vm(['sudo', 'apt-get', 'install', '-y', 'libssl-dev', 'libffi-dev'])
     cls.vm(['sudo', 'apt-get', 'install', '-y', 'python-dev'])
     cls.vm(['sudo', 'apt-get', 'install', '-y', 'build-essential'])
示例#8
0
 def setUpClass(cls):
     cls.vm = create_vm(cls.__name__, 'SUSE:openSUSE:13.2:2016.03.02')
     cls.vm(['sudo', 'zypper', 'refresh'])
     cls.vm(['sudo', 'zypper', '--non-interactive', 'install', 'gcc', 'libffi-devel', 'python-devel', 'openssl-devel'])
示例#9
0
 def setUpClass(cls):
     cls.vm = create_vm(cls.__name__, 'RedHat:RHEL:7.2:7.2.20160302')
     cls.vm(['sudo', 'yum', 'check-update'], _ok_code=[0, 100])
     cls.vm(['sudo', 'yum', 'install', '-y', 'gcc', 'libffi-devel', 'python-devel', 'openssl-devel'])
示例#10
0
 def setUpClass(cls):
     cls.vm = create_vm(cls.__name__, 'credativ:Debian:7:7.0.201604200')
     cls.vm(['sudo', 'apt-get', 'update'])
     cls.vm(['sudo', 'apt-get', 'install', '-y', 'curl'])
     cls.vm(['sudo', 'apt-get', 'install', '-y', 'libssl-dev', 'libffi-dev', 'python-dev'])
示例#11
0
 def setUpClass(cls):
     cls.vm = create_vm(cls.__name__, 'Canonical:UbuntuServer:14.04.4-LTS:latest')
     cls.vm(['sudo', 'apt-get', 'update'])
     cls.vm(['sudo', 'apt-get', 'install', '-y', 'libssl-dev', 'libffi-dev'])
     cls.vm(['sudo', 'apt-get', 'install', '-y', 'python-dev'])
示例#12
0
 def setUpClass(cls):
     cls.vm = create_vm(cls.__name__, 'OpenLogic:CentOS:7.1:7.1.20160308')
     cls.vm(['sudo', 'yum', 'check-update'], _ok_code=[0, 100])
     cls.vm(['sudo', 'yum', 'install', '-y', 'gcc', 'libffi-devel', 'python-devel', 'openssl-devel'])