MCPcopy
hub / github.com/dbcli/pgcli / test_unicode_support_in_output

Function test_unicode_support_in_output

tests/test_pgexecute.py:258–263  ·  view source on GitHub ↗
(executor, expanded)

Source from the content-addressed store, hash-verified

256
257@dbtest
258def test_unicode_support_in_output(executor, expanded):
259 run(executor, "create table unicodechars(t text)")
260 run(executor, "insert into unicodechars (t) values ('é')")
261
262 # See issue #24, this raises an exception without proper handling
263 assert "é" in run(executor, "select * from unicodechars", join=True, expanded=expanded)
264
265
266@dbtest

Callers

nothing calls this directly

Calls 1

runFunction · 0.90

Tested by

no test coverage detected