Merge "Don't create db accounts unencrypted"

This commit is contained in:
Zuul 2018-05-03 06:18:03 +00:00 committed by Gerrit Code Review
commit e2edf7be39
1 changed files with 1 additions and 1 deletions

View File

@ -1943,7 +1943,7 @@ class PostgresqlSchemaFixture(fixtures.Fixture):
database="openstack_citest")
db.autocommit = True
cur = db.cursor()
cur.execute("create role %s with login unencrypted password '%s';" % (
cur.execute("create role %s with login password '%s';" % (
self.name, self.passwd))
cur.execute("create database %s OWNER %s TEMPLATE template0 "
"ENCODING 'UTF8';" % (self.name, self.name))