MCPcopy Index your code
hub / github.com/wireservice/csvkit / test_unicode

Method test_unicode

tests/test_utilities/test_sql2csv.py:117–120  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

115 input_file.close()
116
117 def test_unicode(self):
118 expected = self.csvsql('examples/test_utf8.csv')
119 csv = self.get_output(['--db', 'sqlite:///' + self.db_file, '--query', 'select * from foo'])
120 self.assertEqual(csv.strip(), expected)
121
122 def test_no_header_row(self):
123 self.csvsql('examples/dummy.csv')

Callers

nothing calls this directly

Calls 2

csvsqlMethod · 0.95
get_outputMethod · 0.80

Tested by

no test coverage detected