def test_unicode_string_not_ok(self): """String should not be confused with lists""" self.assertFalse(massedit.is_list(unicode('test')))
def test_single_element_list(self): """Base case.""" self.assertTrue(massedit.is_list(['test']))
def test_empty_list(self): """Empty lists should work too.""" self.assertTrue(massedit.is_list([]))
def test_string_not_ok(self): """String should not be confused with lists""" self.assertFalse(massedit.is_list("test"))