コード例 #1
0
ファイル: test_hosts.py プロジェクト: 1oscar/ceph-deploy
 def test_get_suse(self):
     result = hosts._normalized_distro_name('SUSE LINUX')
     assert result == 'suse'
コード例 #2
0
ファイル: test_hosts.py プロジェクト: 1oscar/ceph-deploy
 def test_get_centos(self):
     result = hosts._normalized_distro_name('CentOS Linux')
     assert result == 'centos'
コード例 #3
0
ファイル: test_hosts.py プロジェクト: 1oscar/ceph-deploy
 def test_get_ubuntu(self):
     result = hosts._normalized_distro_name('Ubuntu')
     assert result == 'ubuntu'
コード例 #4
0
ファイル: test_hosts.py プロジェクト: ceph/ceph-deploy
 def test_get_virtuozzo(self):
     result = hosts._normalized_distro_name('Virtuozzo Linux')
     assert result == 'virtuozzo'
コード例 #5
0
ファイル: test_hosts.py プロジェクト: ceph/ceph-deploy
 def test_get_arch(self):
     result = hosts._normalized_distro_name('Arch Linux')
     assert result == 'arch'
コード例 #6
0
ファイル: test_hosts.py プロジェクト: zyt19941113/ceph-deploy
 def test_get_debian(self):
     result = hosts._normalized_distro_name('Debian')
     assert result == 'debian'
コード例 #7
0
ファイル: test_hosts.py プロジェクト: ceph/ceph-deploy
 def test_get_mint(self):
     result = hosts._normalized_distro_name('LinuxMint')
     assert result == 'ubuntu'
コード例 #8
0
 def test_get_mint(self):
     result = hosts._normalized_distro_name('LinuxMint')
     assert result == 'ubuntu'
コード例 #9
0
 def test_get_suse(self):
     result = hosts._normalized_distro_name('SUSE LINUX')
     assert result == 'suse'
コード例 #10
0
 def test_get_centos(self):
     result = hosts._normalized_distro_name('CentOS Linux')
     assert result == 'centos'
コード例 #11
0
 def test_get_ubuntu(self):
     result = hosts._normalized_distro_name('Ubuntu')
     assert result == 'ubuntu'
コード例 #12
0
ファイル: test_hosts.py プロジェクト: hjwsm1989/ceph-deploy
 def test_get_debian(self):
     result = hosts._normalized_distro_name("Debian")
     assert result == "debian"
コード例 #13
0
ファイル: test_hosts.py プロジェクト: hjwsm1989/ceph-deploy
 def test_get_suse(self):
     result = hosts._normalized_distro_name("SUSE LINUX")
     assert result == "suse"
コード例 #14
0
ファイル: test_hosts.py プロジェクト: hjwsm1989/ceph-deploy
 def test_get_ubuntu(self):
     result = hosts._normalized_distro_name("Ubuntu")
     assert result == "ubuntu"
コード例 #15
0
ファイル: test_hosts.py プロジェクト: 1oscar/ceph-deploy
 def test_get_redhat(self):
     result = hosts._normalized_distro_name('RedHatEnterpriseLinux')
     assert result == 'redhat'
コード例 #16
0
 def test_get_redhat(self):
     result = hosts._normalized_distro_name('RedHatEnterpriseLinux')
     assert result == 'redhat'
コード例 #17
0
ファイル: test_hosts.py プロジェクト: 1oscar/ceph-deploy
 def test_get_debian(self):
     result = hosts._normalized_distro_name('Debian')
     assert result == 'debian'
コード例 #18
0
ファイル: test_hosts.py プロジェクト: zyt19941113/ceph-deploy
 def test_get_virtuozzo(self):
     result = hosts._normalized_distro_name('Virtuozzo Linux')
     assert result == 'virtuozzo'