Skip to content

Commit

Permalink
Set encoding=UTF-8 for Pg
Browse files Browse the repository at this point in the history
  • Loading branch information
phdru committed Aug 24, 2016
1 parent b542c83 commit 788f2ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ commands = {[mysql]commands}
# PostgreSQL test environments
[postgresql]
commands =
psql -c 'create database sqlobject_test;' -U postgres
psql -c 'create database sqlobject_test ENCODING=UTF-8 LC_CTYPE=en_US.UTF-8 LC_COLLATE=en_US.UTF-8;' -U postgres
py.test --cov=sqlobject -D postgres://postgres:@localhost/sqlobject_test
psql -c 'drop database sqlobject_test;' -U postgres

Expand Down

0 comments on commit 788f2ad

Please sign in to comment.