def createdb_command(self):
        command = 'createdb --username={adminuser} --owner={username}'
        if self.database_host:
            command = '%s --host={host}' % command
        if self.database_port:
            command = '%s --port={port}' % command
        return '%s {databasename}' % command
Tests the GetDataStream function.
dataset/ETHPy150Open django-dbbackup/django-dbbackup/dbbackup/dbcommands.py/PostgreSQLSettings.createdb_command--crossover with--dataset/ETHPy150Open log2timeline/dfvfs/tests/vfs/tar_file_entry.py/TARFileEntryTest.testGetDataStream