1
0
Fork 0
This commit is contained in:
Irina Truong 2017-07-25 15:09:39 -07:00
parent 1624cf608d
commit 8547694ec4
1 changed files with 3 additions and 2 deletions

View File

@ -7,14 +7,15 @@ from psycopg2.extensions import AsIs
def create_db(hostname='localhost', username=None, password=None, dbname=None, port=None):
"""
Create test database.
"""Create test database.
:param hostname: string
:param username: string
:param password: string
:param dbname: string
:param port: int
:return:
"""
cn = create_cn(hostname, password, username, 'postgres', port)