Beispiel #1
0
 def test_get_suse(self):
     result = hosts._normalized_distro_name('SUSE LINUX')
     assert result == 'suse'
Beispiel #2
0
 def test_get_centos(self):
     result = hosts._normalized_distro_name('CentOS Linux')
     assert result == 'centos'
Beispiel #3
0
 def test_get_ubuntu(self):
     result = hosts._normalized_distro_name('Ubuntu')
     assert result == 'ubuntu'
Beispiel #4
0
 def test_get_virtuozzo(self):
     result = hosts._normalized_distro_name('Virtuozzo Linux')
     assert result == 'virtuozzo'
Beispiel #5
0
 def test_get_arch(self):
     result = hosts._normalized_distro_name('Arch Linux')
     assert result == 'arch'
Beispiel #6
0
 def test_get_debian(self):
     result = hosts._normalized_distro_name('Debian')
     assert result == 'debian'
Beispiel #7
0
 def test_get_mint(self):
     result = hosts._normalized_distro_name('LinuxMint')
     assert result == 'ubuntu'
Beispiel #8
0
 def test_get_mint(self):
     result = hosts._normalized_distro_name('LinuxMint')
     assert result == 'ubuntu'
Beispiel #9
0
 def test_get_suse(self):
     result = hosts._normalized_distro_name('SUSE LINUX')
     assert result == 'suse'
Beispiel #10
0
 def test_get_centos(self):
     result = hosts._normalized_distro_name('CentOS Linux')
     assert result == 'centos'
Beispiel #11
0
 def test_get_ubuntu(self):
     result = hosts._normalized_distro_name('Ubuntu')
     assert result == 'ubuntu'
Beispiel #12
0
 def test_get_debian(self):
     result = hosts._normalized_distro_name("Debian")
     assert result == "debian"
Beispiel #13
0
 def test_get_suse(self):
     result = hosts._normalized_distro_name("SUSE LINUX")
     assert result == "suse"
Beispiel #14
0
 def test_get_ubuntu(self):
     result = hosts._normalized_distro_name("Ubuntu")
     assert result == "ubuntu"
Beispiel #15
0
 def test_get_redhat(self):
     result = hosts._normalized_distro_name('RedHatEnterpriseLinux')
     assert result == 'redhat'
Beispiel #16
0
 def test_get_redhat(self):
     result = hosts._normalized_distro_name('RedHatEnterpriseLinux')
     assert result == 'redhat'
Beispiel #17
0
 def test_get_debian(self):
     result = hosts._normalized_distro_name('Debian')
     assert result == 'debian'
Beispiel #18
0
 def test_get_virtuozzo(self):
     result = hosts._normalized_distro_name('Virtuozzo Linux')
     assert result == 'virtuozzo'