def test__zip_columns__works_with_two(self): input = [{ "column": "abc", "type": "def" }, { "column": "pqr", "type": "stu" }] actual = athena.zip_columns(input) expected = "abc def, pqr stu" self.assertEqual(actual, expected)
def test__zip_columns__works_with_none(self): input = [] actual = athena.zip_columns(input) expected = "" self.assertEqual(actual, expected)
def test__zip_columns__works_with_one(self): input = [{"column": "abc", "type": "def"}] actual = athena.zip_columns(input) expected = "abc def" self.assertEqual(actual, expected)