def test_to_list_splits_on_comma(self): ids_param = "1,2,3,4,5" self.assertEqual(utils.to_list(ids_param), ["1", "2", "3", "4", "5"])
def test_to_list_splits_on_comma(self): ids_param = '1,2,3,4,5' self.assertEqual(utils.to_list(ids_param), ['1', '2', '3', '4', '5'])
def test_to_list_bad_data(self): march_15_timestamp = 12345 self.assertEqual(utils.to_list(march_15_timestamp), 12345)