

def test_get_restore_commands(self):
    wanted_commands = [['dropdb', '--username={adminuser}', '{databasename}'], ['createdb', '--username={adminuser}', '--owner={username}', '{databasename}'], ['psql', '-d', '{databasename}', '-f', '-', '--username={adminuser}', '--single-transaction', '<']]
    commands = self.dbsettings.get_restore_commands()
    self.assertEqual(commands, commands)

dataset/ETHPy150Open django-dbbackup/django-dbbackup/dbbackup/tests/test_dbcommands.py PostgreSQLSettingsTest.test_get_restore_commands/VarMisuse@66/126 `wanted_commands`->`commands`