Exemplo n.º 1
0
 def chroot_packages(self):
     """
     Packages for chroot testing
     @rtype: C{list} of C{str}
     """
     return string_2_list(self._chroottest)
Exemplo n.º 2
0
 def host_packages(self):
     """
     Packages for host testing
     @rtype: C{list} of C{str}
     """
     return string_2_list(self._hosttest)
Exemplo n.º 3
0
 def test_string_2_list(self):
     expected = ['mary', 'had', 'a', 'little', 'lamb']
     self.assertEquals(expected, string_2_list("mary had a little lamb"))
Exemplo n.º 4
0
 def hw_packages(self):
     """
     Packages for hardware testing
     @rtype: C{list} of C{str}
     """
     return string_2_list(self._packages)
Exemplo n.º 5
0
 def test_string_2_list(self):
     expected = ['mary', 'had', 'a', 'little', 'lamb']
     self.assertEquals(expected,
                       string_2_list("mary had a little lamb"))