def test_extend(self): """ Test the extend method """ dlist = DiskList() dlist.extend(['0', '1', '2', '3']) self.assertTrue(len(dlist) == 4)