def test_is_isterable_str(self): test = utils.is_iterable("1") expected = False self.assertEqual(test, expected)
def test_is_isterable_dict(self): test = utils.is_iterable({1: 1}) expected = True self.assertEqual(test, expected)
def test_is_isterable_tuple(self): test = utils.is_iterable((1,)) expected = True self.assertEqual(test, expected)
def test_is_isterable_int(self): test = utils.is_iterable(1) expected = False self.assertEqual(test, expected)
def test_is_isterable_list(self): test = utils.is_iterable([1]) expected = True self.assertEqual(test, expected)