def testString(self): string = '/dev/sr0' self.assertEquals(drive._listify(string), [string, ])
def testList(self): lst = ['/dev/scd0', '/dev/sr0'] self.assertEquals(drive._listify(lst), lst)