def test_arr_to_str_with_sep(self): ret = converter.arr_to_str(['a bc', 112], '|') self.assertEqual('a bc|112', ret)
def test_arr_to_str(self): ret = converter.arr_to_str([5, -12, 7.21]) self.assertEqual('5,-12,7.21', ret)
def test_arr_to_str_with_sep(self): ret = converter.arr_to_str(['a bc', 112], '|') assert_that(ret, equal_to('a bc|112'))
def test_arr_to_str(self): ret = converter.arr_to_str([5, -12, 7.21]) assert_that(ret, equal_to('5,-12,7.21'))